Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bangjelkoski committed Oct 7, 2024
1 parent c914966 commit f255f71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
env:
GH_CORE_USER: ${{ secrets.GH_CORE_USER }}
GH_CORE_TOKEN: ${{ secrets.GH_CORE_TOKEN }}
GH_DOCS_TOKEN: ${{ secrets.GH_DOCS_TOKEN }}
steps:
- name: Checkout injective-docs
uses: actions/checkout@v1
Expand All @@ -20,6 +21,7 @@ jobs:
run: |
export GH_CORE_USER=${{ secrets.GH_CORE_USER }}
export GH_CORE_TOKEN=${{ secrets.GH_CORE_TOKEN }}
export GH_DOCS_TOKEN=${{ secrets.GH_DOCS_TOKEN }}
./scripts/setup.sh
- name: Set up Git user
Expand All @@ -31,5 +33,5 @@ jobs:
run: |
git add .
git commit -m "chore: docs regenerated" || echo "No changes to commit"
git remote set-url origin https://${{ secrets.GH_CORE_USER }}:${{ secrets.GH_CORE_TOKEN }}@github.com/InjectiveLabs/injective-docs.git
git remote set-url origin https://${{ secrets.GH_CORE_USER }}:${{ secrets.GH_DOCS_TOKEN }}@github.com/InjectiveLabs/injective-docs.git
git push || echo "No changes to push"

0 comments on commit f255f71

Please sign in to comment.