mirror of
https://github.com/edg-l/sitewriter.git
synced 2024-11-09 09:38:24 +00:00
fix workflow
This commit is contained in:
parent
b1e5f0ffca
commit
583085f0d2
11
.github/workflows/web.yml
vendored
11
.github/workflows/web.yml
vendored
|
@ -32,7 +32,7 @@ on:
|
||||||
# when you want the docs to update.
|
# when you want the docs to update.
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
|
|
||||||
# Whenever a workflow called "Release" completes, update the docs!
|
# Whenever a workflow called "Release" completes, update the docs!
|
||||||
#
|
#
|
||||||
|
@ -43,7 +43,7 @@ on:
|
||||||
# tab for your repo to see this one running (the gh-pages deploy will also
|
# tab for your repo to see this one running (the gh-pages deploy will also
|
||||||
# only show up there).
|
# only show up there).
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: [ "Release" ]
|
workflows: ["Release"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/latest/download/oranda-installer.sh | sh
|
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/oranda/releases/latest/download/oranda-installer.sh | sh
|
||||||
oranda build
|
oranda build
|
||||||
|
|
||||||
- name: Prepare HTML for link checking
|
- name: Prepare HTML for link checking
|
||||||
# untitaker/hyperlink supports no site prefixes, move entire site into
|
# untitaker/hyperlink supports no site prefixes, move entire site into
|
||||||
# a subfolder
|
# a subfolder
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
uses: untitaker/hyperlink@0.1.29
|
uses: untitaker/hyperlink@0.1.29
|
||||||
with:
|
with:
|
||||||
args: /tmp/public/
|
args: /tmp/public/
|
||||||
|
|
||||||
# Deploy to our gh-pages branch (creating it if it doesn't exist).
|
# 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
|
# The "public" dir that oranda made above will become the root dir
|
||||||
# of this branch.
|
# of this branch.
|
||||||
|
@ -96,4 +96,5 @@ jobs:
|
||||||
# Gotta tell the action where to find oranda's output
|
# Gotta tell the action where to find oranda's output
|
||||||
folder: public
|
folder: public
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
single-commit: true
|
single-commit: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue