Fix warnings on stable (#36) #20
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: 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 |