Skip to content

chore: add ci for redeploying prod builds #2

chore: add ci for redeploying prod builds

chore: add ci for redeploying prod builds #2

Workflow file for this run

name: Package bump OLP
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout olp repository
uses: actions/checkout@v2
with:
repository: injectiveLabs/injective-dmm-v2
path: olp
token: ${{ secrets.GH_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "18.x"
- name: Install dependencies
run: |
cd olp
yarn install
- name: Commit changes
run: |
cd olp
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 olp
git push origin master