Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of your workflow files
schedule:
interval: "weekly" # Options: daily, weekly, monthly
10 changes: 8 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
name: Docs
permissions:
contents: write

on: [push, pull_request]

Expand All @@ -15,6 +17,8 @@ jobs:
}}" >> $GITHUB_OUTPUT

- uses: actions/checkout@v4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not pinned.

with:
persist-credentials: false

- name: Upgrade jinja
run: pip install -U jinja2
Expand All @@ -24,14 +28,16 @@ jobs:

- name: Build
run: |
if [ "${{ steps.setup.outputs.IS_RELEASE }}" == "true" ]; then
if [ "${STEPS_SETUP_OUTPUTS_IS_RELEASE}" == "true" ]; then
O="-t release"
fi
make html O="$O"
env:
STEPS_SETUP_OUTPUTS_IS_RELEASE: ${{ steps.setup.outputs.IS_RELEASE }}
Comment on lines +35 to +36
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can change the setup step to write directly to $GITHUB_ENV to set the environment variable in the step instead of later here.


- name: Publish
if: ${{ steps.setup.outputs.IS_RELEASE == 'true' }}
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
Expand Down
Loading