diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index ef195ab..ec618d3 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -11,7 +11,7 @@ jobs: build: runs-on: docker container: - image: docker.io/hugomods/hugo:0.138.0 + image: docker.io/hugomods/hugo:0.147.9 steps: - name: Pipeline info run: | @@ -37,7 +37,7 @@ jobs: sed -i 's#baseurl = "https://cryptoparty-hamburg.de"#baseurl = "https://cryptoparty.hamburg.ccc.de"#' config.toml - name: Patch baseURL (staging only) - if: github.ref_name != 'master' + if: github.ref_name != 'main' run: | sed -i 's#baseurl = "https://cryptoparty.hamburg.ccc.de.de"#baseurl = "https://staging.cryptoparty.hamburg.ccc.de/pr${{ github.event.pull_request.number }}/"#' config.toml @@ -46,7 +46,7 @@ jobs: run: | hugo # - name: Build website (staging) - # if: github.ref_name != 'master' + # if: github.ref_name != 'main' # run: | # hugo --buildFuture --buildDrafts