ci: fix deploy workflow #3
Workflow file for this run
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: Deploy Demo | ||
on: push | ||
jobs: | ||
deploy: | ||
# Only run it if the service account is set, | ||
# to avoid running it on internal forks (e.g. e2e) | ||
if: secrets.STORAGE_SERVICE_ACCOUNT != '' | ||
Check failure on line 9 in .github/workflows/deploy.yaml GitHub Actions / Deploy DemoInvalid workflow file
|
||
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 |