Compare commits

..

1 commit

Author SHA1 Message Date
b3ff444753
introduce Forgejo Actions CI for deploying website and staging envs
Some checks failed
/ build (pull_request) Failing after 1m30s
uses cryptoparty.hamburg.ccc.de for now and deploys this PR as the main
site
2025-05-11 02:17:34 +02:00

View file

@ -34,12 +34,12 @@ jobs:
- name: Patch baseURL (for now)
run: |
sed -i 's#baseurl = "https://crytoparty-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)
if: github.ref_name != 'master'
run: |
sed -i 's#baseurl = "https://crytoparty.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
- name: Build website (prod)
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref_name == 'master'