chore: Update CLA link (#76) #33
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: web demo | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/web_deploy.yml' | |
- 'math_keyboard_demo/lib/**' | |
- 'math_keyboard_demo/web/**' | |
- 'math_keyboard_demo/pubspec.yaml' | |
- 'math_keyboard/pubspec.yaml' | |
jobs: | |
demo-deploy: | |
timeout-minutes: 6 | |
runs-on: ubuntu-latest | |
name: deployment of math_keyboard_demo | |
steps: | |
- uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- uses: subosito/[email protected] | |
with: | |
channel: 'stable' | |
- name: Build demo web app | |
run: | | |
cd math_keyboard_demo | |
flutter pub get | |
flutter build web | |
cd build/web | |
touch ".nojekyll" | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: math_keyboard_demo/build/web | |
GIT_CONFIG_NAME: simpleclub-bot | |
GIT_CONFIG_EMAIL: [email protected] | |
COMMIT_MESSAGE: Deploy math_keyboard_demo web page |