chore: package bump skip deploy #48
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: Package bump Hub | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout hub repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
repository: injectiveLabs/injective-hub | |
path: hub | |
token: ${{ secrets.GH_TOKEN }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: | | |
cd hub | |
yarn install | |
- name: Commit changes | |
run: | | |
cd hub | |
git config user.name "${{ github.actor }}" | |
git config user.email "${{ github.actor }}@users.noreply.github.com" | |
git add . | |
git commit -m "chore: package bump" | |
- name: Push changes | |
run: | | |
cd hub | |
git push origin dev |