Bump to version 0.3.0 #6
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 example | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
deploy-for-web: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: beta | |
- run: flutter config --enable-web | |
- run: flutter pub get | |
- name: Build for web | |
working-directory: example/ | |
run: flutter build web --release | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: example/build/web # The folder the action should deploy. | |
CLEAN: true # Automatically remove deleted files from the deploy branch |