hydrogen/.github/workflows/publish_stackblitz.yml
Josh Larson 69576610c4
chore: improve Stackblitz publishing flow (#203)
* chore: hoist local flag to root project

* chore: publish to stackblitz branch with new release

* chore: rename gitignore for stackblitz

* chore: use correct path

* chore: include `.stackblitzrc` file to ensure dev server starts
2021-11-10 12:01:53 -06:00

22 lines
485 B
YAML

name: Publish to Stackblitz
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
name: Publish latest release to Stackblitz
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Rename gitignore
run: |
mv packages/dev/_gitignore packages/dev/.gitignore
- name: Push to stackblitz branch
uses: EndBug/add-and-commit@v7.4.0
with:
push: 'origin stackblitz --force'