Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

deploy step

goenningd5bf736e5cfd
diff --git a/wercker.yml b/wercker.yml
index 832771333..218a7e5c4 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -82,7 +82,8 @@ dockerize:
cp -R views/ /app/views
cp -R dist/ /app/dist
rm -rf /pipeline/cache/*
- rm -rf /pipeline/source/*
+ rm -rf /pipeline/source/*
+ rm -rf /pipeline/source/.git
rm -rf /pipeline/output/*
mv /app /pipeline/output
@@ -100,7 +101,12 @@ deploy:
id: alpine
cmd: /bin/sh
steps:
+ - add-to-known_hosts:
+ hostname: canhearyou.com
+ fingerprint: SHA256:KsmKuG/9bu/5GPkMjVBt37hoB82PY3/932kwxLXkdn0
+ - add-ssh-key:
+ keyname: CORE
- script:
- name: list
+ name: restart
code: |
- ls
\ No newline at end of file
+ ssh [email protected] "/home/core/start-wechy.sh"
\ No newline at end of file