This commit is contained in:
parent
b9e94ee602
commit
7f8d2e2523
@ -21,4 +21,14 @@ jobs:
|
|||||||
chmod 600 ~/.ssh/staging.key
|
chmod 600 ~/.ssh/staging.key
|
||||||
- name: Run docker restart on Server
|
- name: Run docker restart on Server
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/staging.key -o StrictHostKeyChecking=no -p 22 -o UserKnownHostsFile=/dev/null ${{ secrets.SSH_WEBSERVER_IP }} "cd /var/www/dogstats/ && git pull"
|
ssh -i ~/.ssh/staging.key -o StrictHostKeyChecking=no -p 22 -o UserKnownHostsFile=/dev/null ${{ secrets.SSH_WEBSERVER_IP }} "cd /var/www/dogstats/ && git pull"
|
||||||
|
|
||||||
|
- name: Getting repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
path: 'dogstats'
|
||||||
|
- name: Building minified CSS
|
||||||
|
run: cd dogstats/tools && ./tailwindcss-linux-x64 -i ../web/css/input.css -o ../web/css/output.css --minify
|
||||||
|
- name: Copying to server
|
||||||
|
run: scp -i ~/.ssh/staging.key -o StrictHostKeyChecking=no -p 22 -o UserKnownHostsFile=/dev/null ../web/css/output.css ${{ secrets.SSH_WEBSERVER_IP }}:/var/www/dogstats/web/css/output.css
|
||||||
|
|
Reference in New Issue
Block a user