This commit is contained in:
parent
b9e94ee602
commit
7f8d2e2523
@ -22,3 +22,13 @@ jobs:
|
||||
- name: Run docker restart on Server
|
||||
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"
|
||||
|
||||
- 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