-
Notifications
You must be signed in to change notification settings - Fork 1
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
60a7d13
commit 2915566
Showing
2 changed files
with
39 additions
and
1 deletion.
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,33 @@ | ||
name: Injective Docs Generation | ||
|
||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout injective-docs | ||
uses: actions/checkout@v1 | ||
with: | ||
repository: InjectiveLabs/injective-docs | ||
ref: dev | ||
path: ./injective-docs | ||
|
||
- name: Generate new docs from injective-core | ||
run: | | ||
cd injective-docs | ||
export GH_CORE_USER=${{ secrets.GH_CORE_USER }} | ||
export GH_CORE_TOKEN=${{ secrets.GH_CORE_TOKEN }} | ||
./scripts/setup.sh | ||
- name: Checkout injective-docs | ||
uses: actions/checkout@v1 | ||
with: | ||
repository: InjectiveLabs/injective-docs | ||
ref: dev | ||
path: ./injective-docs | ||
|
||
- name: Commit the changes to injective-docs | ||
run: | | ||
cd injective-docs | ||
git add . | ||
git commit -m "chore: docs regenerated" | ||
git push |
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