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/)