Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Oct 11, 2024
1 parent 7aa90a4 commit 4c11e4d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ on:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -30,7 +45,7 @@ jobs:
make html
touch _build/html/.nojekyll
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/html

Expand Down

0 comments on commit 4c11e4d

Please sign in to comment.