Skip to content

ci: update azure pipeline (#36) #10

ci: update azure pipeline (#36)

ci: update azure pipeline (#36) #10

Workflow file for this run

name: Deploy Demo
on:
push:
branches:
- main
jobs:
deploy:
# Avoid running deploy on internal forks (e.g. e2e)
if: github.repository == 'widgetbook/groceries-demo'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Bootstrap
uses: ./.github/actions/bootstrap
- name: Authenticate Service Account
uses: google-github-actions/[email protected]
with:
credentials_json: ${{ secrets.STORAGE_SERVICE_ACCOUNT }}
- name: Deploy to demo.widgetbook.io
uses: google-github-actions/[email protected]
with:
path: widgetbook/build/web
destination: demo.widgetbook.io
parent: false