You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: hugo config && hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
57
-
58
-
- name: run Pagefind ${{ env.PAGEFIND_VERSION }} to build the search index
59
-
shell: bash
60
-
run: npx -y pagefind@${{ env.PAGEFIND_VERSION }} --site public
61
-
62
-
- name: upload GitHub Pages artifact
63
-
uses: actions/upload-pages-artifact@v3
64
-
with:
65
-
path: ./public
66
-
67
-
- name: deploy
68
-
id: deploy
69
-
uses: actions/deploy-pages@v4
70
-
71
-
- name: construct `--remap` option for lychee
72
-
id: remap
73
-
shell: bash
74
-
run: |
75
-
base_url='${{ steps.pages.outputs.base_url }}'
76
-
echo "result=$(echo "$base_url" |
77
-
sed 's|^\(.*\)\(/git-scm\.com\)$|(\1)?\2(.*)|') file://$PWD/public\$2" \
78
-
>>$GITHUB_OUTPUT
79
-
80
-
- name: check for broken links
81
-
id: lychee
82
-
uses: lycheeverse/lychee-action@d4128702eae98bbc5ecf74df0165a8156c80920a # until an official version is out that includes https://github.com/lycheeverse/lychee/pull/1422
83
-
with:
84
-
lycheeVersion: nightly # until an official version includes https://github.com/lycheeverse/lychee/pull/1422
0 commit comments