Skip to content

update asset / collection src #88

update asset / collection src

update asset / collection src #88

Workflow file for this run

name: publish
on:
push:
branches:
- 'main'
- 'staging'
jobs:
publish:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 20.x
- run: npm install
- run: npm run deploy:main
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
publish-staging:
if: github.ref == 'refs/heads/staging'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 20.x
- run: npm install
- run: npm run deploy:staging
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}