„.gitea/workflows/prod.yaml“ ändern

This commit is contained in:
Denys Konovalov 2023-03-15 22:12:12 +01:00
parent 65d1730f10
commit 88eb4930ee

View File

@ -24,15 +24,14 @@ jobs:
run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/" run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
- name: deploy - name: deploy
uses: https://github.com/burnett01/rsync-deployments@5.2.1 uses: https://github.com/D3rHase/rsync-deploy-action@latest
with: with:
switches: -avzr --delete HOST: cantorgymnasium.de
path: public/ PORT: ${{secrets.WEB_PUSH_PORT }}
remote_path: /opt/data/webdata/gcg-website/dev-test/ USER: web-push
remote_host: cantorgymnasium.de PRIVATE_SSH_KEY: ${{secrets.WEB_PUSH_KEY }}
remote_user: web-push REPOSITORY_PATH: public/
remote_port: ${{ secrets.WEB_PUSH_PORT }} SERVER_PATH: /opt/data/webdata/gcg-website/dev-test/
remote_key: ${{ secrets.WEB_PUSH_KEY }}
- name: search index - name: search index
uses: https://github.com/JimCronqvist/action-ssh@master uses: https://github.com/JimCronqvist/action-ssh@master