-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create pages from action (#302)
* Create jekyll-gh-pages.yml * legitignore * clean workflow * pin versions
- Loading branch information
1 parent
c4118c9
commit b7c252c
Showing
2 changed files
with
48 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,43 @@ | ||
name: Deploy GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: [ "gh-docs" ] | ||
|
||
workflow_dispatch: | ||
|
||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # pin@v4 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # pin@v5 | ||
- name: Build with Jekyll | ||
uses: actions/jekyll-build-pages@b178f9334b208360999a0a57b523613563698c66 # pin@v1 | ||
with: | ||
source: ./docs | ||
destination: ./_site | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # pin@v3 | ||
|
||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # pin@v4 |
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,5 @@ | ||
instance_287397C7F09BCAD176A9053FA4E03E25 | ||
instance_8B699E54671FEE1FAC02B830C651450F | ||
instance_8326D270DF418129D65CC0F25077233E | ||
instance_5BB71F8938BAD8D688018A6F9505C44D | ||
instance_0A8CFE3A09E996BDA5D889138D351B7E |