Skip to content

Implement pausing (#37) #21

Implement pausing (#37)

Implement pausing (#37) #21

Workflow file for this run

name: demo
on:
push:
branches:
- main
paths:
- 'fireworks/lib/**'
- 'fireworks/pubspec.yaml'
- 'fireworks_demo/lib/**'
- 'fireworks_demo/web/**'
- 'fireworks_demo/pubspec.yaml'
- '.github/workflows/web_deploy.yml'
jobs:
demo-deploy:
timeout-minutes: 6
runs-on: ubuntu-latest
name: web deployment
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: subosito/[email protected]
with:
channel: 'stable'
- name: Build demo web app
run: |
cd fireworks_demo
flutter pub get
flutter build web
cd build/web
touch ".nojekyll"
echo "fireworks.creativemaybeno.dev" > CNAME
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: fireworks_demo/build/web
GIT_CONFIG_NAME: creativecreatorormaybenot
GIT_CONFIG_EMAIL: [email protected]
COMMIT_MESSAGE: Deploy fireworks demo web page