„.gitea/workflows/prod.yaml“ ändern
This commit is contained in:
parent
b99b7d0ffb
commit
a638882a89
@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: docker://act-runner
|
||||
runs-on: act-runner-user
|
||||
steps:
|
||||
- name: clone
|
||||
uses: actions/checkout@v3
|
||||
@ -24,23 +24,9 @@ jobs:
|
||||
run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
|
||||
|
||||
- name: deploy
|
||||
uses: https://git.cantorgymnasium.de/gcg/rsync-deploy-action@main
|
||||
with:
|
||||
HOST: cantorgymnasium.de
|
||||
PORT: ${{secrets.WEB_PUSH_PORT }}
|
||||
USER: web-push
|
||||
PRIVATE_SSH_KEY: ${{secrets.WEB_PUSH_KEY }}
|
||||
REPOSITORY_PATH: public/
|
||||
SERVER_PATH: /opt/data/webdata/gcg-website-gt/
|
||||
|
||||
- name: search index
|
||||
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/
|
||||
run: |
|
||||
pagefind --source=.
|
||||
rsync -azr --delete public/ /opt/data/webdata/gcg-website-gt/
|
||||
|
||||
- name: notification
|
||||
uses: https://github.com/yamaks2306/telegram-notification@main
|
||||
|
Loading…
x
Reference in New Issue
Block a user