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. # 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