„.gitea/workflows/prod.yaml“ ändern
Some checks failed
website-main / prod-build (push) Successful in 1m30s
website-main / auto-rebuild (push) Has been skipped
website-main / test-build (push) Failing after 1s

This commit is contained in:
Denys Konovalov 2023-05-28 10:44:07 +02:00
parent e7ea4d7f23
commit a5390ac2ec

@ -14,11 +14,11 @@ concurrency:
jobs: jobs:
prod-build: prod-build:
if: gitea.repository == 'gcg/gcg-website' && gitea.event_name == 'push' if: gitea.repository == 'gcg/gcg-website' && gitea.event_name == 'push'
runs-on: act-runner-user:host runs-on: act-runner-user
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- name: clone - name: clone
uses: https://gitea.com/actions/checkout@v3 uses: actions/checkout@v3
- name: build - name: build
run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/" run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
- name: deploy - name: deploy
@ -39,7 +39,7 @@ jobs:
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- name: clone - name: clone
uses: https://gitea.com/actions/checkout@v3 uses: actions/checkout@v3
- name: build - name: build
run: hugo --minify --gc --baseURL "https://test.cantorgymnasium.de/" --buildDrafts --buildFuture -d test run: hugo --minify --gc --baseURL "https://test.cantorgymnasium.de/" --buildDrafts --buildFuture -d test
- name: deploy - name: deploy
@ -53,7 +53,7 @@ jobs:
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- name: clone - name: clone
uses: https://gitea.com/actions/checkout@v3 uses: actions/checkout@v3
- name: build - name: build
run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/" run: hugo --minify --gc --baseURL "https://cantorgymnasium.de/"
- name: deploy - name: deploy