use older hugo for now to make the website build
Some checks failed
/ build (pull_request) Failing after 1m39s
Some checks failed
/ build (pull_request) Failing after 1m39s
This commit is contained in:
parent
73b83aa36f
commit
49908b086d
1 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker.io/hugomods/hugo:0.138.0
|
image: docker.io/hugomods/hugo:0.119.0
|
||||||
steps:
|
steps:
|
||||||
- name: Pipeline info
|
- name: Pipeline info
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
sed -i 's#baseurl = "https://cryptoparty-hamburg.de"#baseurl = "https://cryptoparty.hamburg.ccc.de"#' config.toml
|
sed -i 's#baseurl = "https://cryptoparty-hamburg.de"#baseurl = "https://cryptoparty.hamburg.ccc.de"#' config.toml
|
||||||
|
|
||||||
- name: Patch baseURL (staging only)
|
- name: Patch baseURL (staging only)
|
||||||
if: github.ref_name != 'master'
|
if: github.ref_name != 'main'
|
||||||
run: |
|
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
|
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: |
|
run: |
|
||||||
hugo
|
hugo
|
||||||
# - name: Build website (staging)
|
# - name: Build website (staging)
|
||||||
# if: github.ref_name != 'master'
|
# if: github.ref_name != 'main'
|
||||||
# run: |
|
# run: |
|
||||||
# hugo --buildFuture --buildDrafts
|
# hugo --buildFuture --buildDrafts
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue