-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into damian/2165-ics27-genesis-state-updates
- Loading branch information
Showing
3 changed files
with
51 additions
and
5 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,40 @@ | ||
name: Deploy docs | ||
# This job builds and deploys documenation to github pages. | ||
# It runs on every push to main with a change in the docs folder. | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- "release/**" | ||
paths: | ||
- "docs/**" | ||
- .github/workflows/deploy-docs.yml | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build-and-deploy: | ||
permissions: | ||
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/cosmos/website-deployment | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
path: "." | ||
|
||
- name: Build 🔧 | ||
run: | | ||
make build-docs LEDGER_ENABLED=false | ||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: ~/output | ||
single-commit: true |
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
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