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

This commit is contained in:
Denys Konovalov 2023-03-16 09:50:12 +01:00
parent 6e4f2575f8
commit 28551a6656

@ -24,23 +24,17 @@ jobs:
run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/" run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
- name: deploy - name: deploy
uses: https://git.cantorgymnasium.de/gcg/rsync-deploy-action@main uses: https://git.cantorgymnasium.de/gcg/action-rsync@master
with: env:
HOST: cantorgymnasium.de HOST: cantorgymnasium.de
PORT: ${{secrets.WEB_PUSH_PORT }} KEY: ${{ secrets.WEB_PUSH_KEY }}
TARGET: /opt/data/webdata/gcg-website/dev-test/
USER: web-push USER: web-push
PRIVATE_SSH_KEY: ${{secrets.WEB_PUSH_KEY }} ARGS: -avzr --delete
REPOSITORY_PATH: public/ VERBOSE: true
SERVER_PATH: /opt/data/webdata/gcg-website/dev-test/ SSH_ARGS: '-p 1845 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
SOURCE: ./public/
- name: search index POST_SCRIPT: "cd /opt/data/webdata/gcg-website/ && pagefind --source=."
uses: https://github.com/JimCronqvist/action-ssh@master
with:
hosts: ${{ secrets.WEB_PUSH_HOST }}
privateKey: ${{ secrets.WEB_PUSH_KEY }}
command: |
cd /opt/data/webdata/gcg-website/
pagefind --source=.
- name: notification - name: notification
uses: https://github.com/yamaks2306/telegram-notification@main uses: https://github.com/yamaks2306/telegram-notification@main