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.
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
# 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
|
||||
# only show up there).
|
||||
workflow_run:
|
||||
workflows: [ "Release" ]
|
||||
workflows: ["Release"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
|
@ -69,7 +69,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
|
||||
|
@ -79,7 +79,7 @@ jobs:
|
|||
uses: untitaker/hyperlink@0.1.29
|
||||
with:
|
||||
args: /tmp/public/
|
||||
|
||||
|
||||
# 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.
|
||||
|
@ -96,4 +96,5 @@ jobs:
|
|||
# Gotta tell the action where to find oranda's output
|
||||
folder: public
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
single-commit: true
|
||||
single-commit: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue