Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy pages from actions #25

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
19 changes: 10 additions & 9 deletions .github/workflows/ExportPluto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ concurrency:
group: pluto-export
cancel-in-progress: true

# This action needs permission to write the exported HTML file to the gh-pages branch.
# This action needs permission to write to pages and to id-token to upload the pages.
permissions:
contents: write
contents: read
pages: write
id-token: write
# (all other permission fields default to "none")

jobs:
Expand Down Expand Up @@ -60,11 +62,10 @@ jobs:
# more parameters can go here
)'


- name: Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@releases/v4
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: .
single-commit: true
path: ./

- name: Deploy GitHub Pages site
uses: actions/deploy-pages@v4