Skip to content

Commit

Permalink
Fix docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
RedstoneWizard08 committed Sep 10, 2024
1 parent d6bda04 commit cc8133c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Deploy to Pages
on: [push]
on: [push, workflow_dispatch]

permissions:
pages: write
contents: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
runs-on: ubuntu-latest

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -25,7 +33,11 @@ jobs:
chmod +x build.sh
./build.sh -t Docs
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
folder: docs/_site
path: docs/_site

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
12 changes: 2 additions & 10 deletions .idea/.idea.ConfigurableWarning/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/toc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
items:
- name: Home
href: /
href: index.md
- name: Guides
href: guides/
- name: API Reference
Expand Down

0 comments on commit cc8133c

Please sign in to comment.