diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 055615c56..a7d2c3a98 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -43,7 +43,7 @@ on: # tab for your repo to see this one running (the gh-pages deploy will also # only show up there). workflow_run: - workflows: [ "Release" ] + workflows: ["Release"] types: - completed @@ -68,17 +68,17 @@ jobs: run: | curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/latest/download/oranda-installer.sh | sh oranda build - + - name: Prepare HTML for link checking # untitaker/hyperlink supports no site prefixes, move entire site into # a subfolder - run: mkdir /tmp/public/ && cp -R public /tmp/public/oranda + run: mkdir /tmp/dist/ && cp -R dist /tmp/dist/oranda - name: Check HTML for broken internal links uses: untitaker/hyperlink@0.1.29 with: - args: /tmp/public/ - + args: /tmp/dist/ + # Deploy to our gh-pages branch (creating it if it doesn't exist) # the "public" dir that oranda made above will become the root dir # of this branch. @@ -91,9 +91,8 @@ jobs: # ONLY if we're on main (so no PRs or feature branches allowed!) if: ${{ github.ref == 'refs/heads/main' }} with: - repository-name: "kitsune-soc/kitsune-soc.github.io" branch: gh-pages # Gotta tell the action where to find oranda's output - folder: public + folder: dist token: ${{ secrets.GITHUB_TOKEN }} - single-commit: true \ No newline at end of file + single-commit: true