Skip to content

Feature/microcredit support new assets #679

Feature/microcredit support new assets

Feature/microcredit support new assets #679

Workflow file for this run

name: Build
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Pre-install
run: yarn --network-concurrency 1
- name: Setup Git Config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Deploy Alfajores
if: github.ref == 'refs/heads/alfajores'
run: |
yarn deploy:alfajores
git commit -am "GitHub Actions - Check in new artifacts"
git push origin alfajores
- name: Deploy Mainnet
if: github.ref == 'refs/heads/master'
run: |
yarn deploy:mainnet
git commit -am "GitHub Actions - Check in new artifacts"
git push origin master
- name: Run Check Git
run: |
git diff --quiet --exit-code --cached