-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to deploy docs to gh-pages branch
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build and Deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [ master ] | ||
permissions: | ||
contents: write | ||
|
||
concurrency: build-and-deploy-${{ github.ref }} | ||
|
||
jobs: | ||
# we may add a build job here at some point that for instance | ||
# builds the docs so we don't have to generate them at run time | ||
|
||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Deploy docs to gh-branches | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: docs | ||
branch: gh-pages # default for this action, but including to be explicit | ||
|
||
|