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
|
run: hugo
|
||||||
|
|
||||||
- name: Check for broken links
|
- name: Check for broken links
|
||||||
run: mise linkcheck --offline
|
run: |
|
||||||
continue-on-error: gitea.ref == 'refs/heads/main'
|
if [ "${{ gitea.ref }}" = "refs/heads/main" ]; then
|
||||||
|
mise linkcheck --offline || true
|
||||||
|
else
|
||||||
|
mise linkcheck --offline
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Copy website to host
|
- name: Copy website to host
|
||||||
uses: https://github.com/appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0
|
uses: https://github.com/appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user