autobuild fix
Some checks failed
Build and push / Pulling repo on server (push) Failing after 19s

This commit is contained in:
Chris 2023-10-21 20:56:12 +02:00
parent b9e94ee602
commit 7f8d2e2523
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -1,5 +1,7 @@
# Dogstats dingsi
https://gitea.haschek.at/Crispi/dogstats
## Techstack
- [HTMX](https://htmx.org/docs/)