-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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,7 @@ 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 | ||
|
||
- name: Check HTML for broken internal links | ||
uses: untitaker/[email protected] | ||
with: | ||
args: /tmp/public/ --sources docs/ | ||
|
||
# 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. | ||
|
@@ -95,4 +85,4 @@ jobs: | |
# Gotta tell the action where to find oranda's output | ||
folder: public | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
single-commit: true | ||
single-commit: true |