chore: update default docker image for osmosis to be latest, update d… #166
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
name: Docs | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
- ".github/workflows/docs.yaml" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Clone docs repository | |
run: git clone https://x-access-token:${{ secrets.GH_PAT_TOKEN }}@github.com/cosmology-tech/docs.git external-docs | |
- name: Sync the docs | |
run: | | |
rsync -av --delete ./docs/pages/ ./external-docs/pages/starship/ | |
cd external-docs | |
git config user.name 'GitHub Action' | |
git config user.email '[email protected]' | |
git add . | |
if git diff --cached --quiet; then | |
echo "No changes to commit." | |
else | |
git commit -m "Aotumated: Update starship documentation from starship repo" | |
git push | |
fi |