-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04895b5
commit e949390
Showing
1 changed file
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,16 +39,14 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
env: | ||
BUILD_PATH: ./build | ||
permissions: | ||
contents: write | ||
steps: | ||
# use this for builds triggered from the UI and from workflows on protected branches | ||
- id: checkout_latest_workflow | ||
name: Checkout Latest | ||
if: (github.event_name == 'workflow_dispatch' && github.event.inputs.commit_resources == 'true') || (github.event_name == 'push' && inputs.commit_resources == true) | ||
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
persist-credentials: false | ||
submodules: recursive | ||
# use this for overything else (i.e., pull requests) where publication is not needed | ||
- name: Checkout Latest | ||
|
@@ -152,11 +150,10 @@ jobs: | |
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 | ||
if: github.ref_name == 'main' && ((github.event_name == 'push' && inputs.commit_resources == true) || (github.event_name == 'workflow_dispatch' && github.event.inputs.commit_resources == 'true')) | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
personal_token: ${{ secrets.COMMIT_TOKEN }} | ||
enable_jekyll: false | ||
publish_dir: ./website/public | ||
publish_branch: nist-pages | ||
commit_user_name: GitHub Actions Bot | ||
commit_user_email: [email protected] | ||
commit_author: GitHub Actions Bot <[email protected]> | ||
user_name: GitHub Actions Bot | ||
user_email: [email protected] | ||
commit_message: Deploying website [ci deploy skip] |