test: alternative 2
Some checks failed
Website build and deploy / build (pull_request) Failing after 41s
Some checks failed
Website build and deploy / build (pull_request) Failing after 41s
This commit is contained in:
@@ -50,8 +50,12 @@ jobs:
|
||||
run: hugo
|
||||
|
||||
- name: Check for broken links
|
||||
run: mise linkcheck --offline
|
||||
continue-on-error: gitea.ref == 'refs/heads/main'
|
||||
run: |
|
||||
if [ "${{ gitea.ref }}" = "refs/heads/main" ]; then
|
||||
mise linkcheck --offline || true
|
||||
else
|
||||
mise linkcheck --offline
|
||||
fi
|
||||
|
||||
- name: Copy website to host
|
||||
uses: https://github.com/appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0
|
||||
|
||||
Reference in New Issue
Block a user