diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml
index 2d8cefa..bd6df9f 100644
--- a/.gitea/workflows/deploy.yaml
+++ b/.gitea/workflows/deploy.yaml
@@ -1,22 +1,24 @@
name: Static
-on: [push]
+on:
+ push:
+ branches:
+ - main
jobs:
build:
-
- runs-on: hugo-latest
-
+ container:
+ image: fung.uy/mycosystems/web-ci:latest
steps:
- uses: actions/checkout@v3
- name: pre-compress
run: find ./public/* -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' \) -exec gzip -v -k -f --best {} \;
- name: Deploy to Server
- uses: easingthemes/ssh-deploy@main
+ uses: https://fung.uy/mirrors/ssh-deploy@main
env:
- SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
- ARGS: "-rlgoDzvc -i --delete"
- SOURCE: "public/"
- REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
- REMOTE_USER: ${{ secrets.REMOTE_USER }}
- TARGET: ${{ secrets.REMOTE_TARGET }}
\ No newline at end of file
+ SSH_PRIVATE_KEY: ${{ secrets.PA_SSH_KEY }}
+ ARGS: "-rlgoDzvc -i --delete"
+ SOURCE: "public/"
+ REMOTE_HOST: ${{ secrets.PA_HOST }}
+ REMOTE_USER: ${{ secrets.PA_USER }}
+ TARGET: ${{ secrets.PA_DATA_DIR }}/myco.systems
diff --git a/public/index.html b/public/index.html
index 9a5f424..90c612a 100755
--- a/public/index.html
+++ b/public/index.html
@@ -87,9 +87,7 @@
The following currencies are supported: