From 7f8d2e2523e5fe33ea92264db4c7eb5f33b5d8d9 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 21 Oct 2023 20:56:12 +0200 Subject: [PATCH] autobuild fix --- .gitea/workflows/build.yml | 12 +++++++++++- README.md | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 400c598..6591f04 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,4 +21,14 @@ jobs: chmod 600 ~/.ssh/staging.key - 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" \ No newline at end of file + 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 + \ No newline at end of file diff --git a/README.md b/README.md index dd9801c..e87ddea 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Dogstats dingsi +https://gitea.haschek.at/Crispi/dogstats + ## Techstack - [HTMX](https://htmx.org/docs/)