Skip to content

Fixed Dart SDK version for Flutter 3.22.x (#9) and Updated dependenci… #21

Fixed Dart SDK version for Flutter 3.22.x (#9) and Updated dependenci…

Fixed Dart SDK version for Flutter 3.22.x (#9) and Updated dependenci… #21

Workflow file for this run

name: Deploy GitHub pages
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
working-directory: doc
- name: Build site
run: npm run build
working-directory: doc
- name: Add CNAME file
run: cp ./CNAME ./doc/build/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build