fix workflow

This commit is contained in:
Edgar 2024-06-19 17:46:21 +02:00
parent b1e5f0ffca
commit 583085f0d2
No known key found for this signature in database
GPG key ID: 70ADAE8F35904387

View file

@ -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