Skip to content

Merge pull request #32 from apomalyn/chore/update #21

Merge pull request #32 from apomalyn/chore/update

Merge pull request #32 from apomalyn/chore/update #21

Workflow file for this run

name: Build and release to Github pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.x.x'
- name: Get packages from pub
run: flutter pub get
- name: Build web app
run: flutter build web --web-renderer html
- name: Publish to Github pages
uses: Cecilapp/GitHub-Pages-deploy@2.0.1
env:
EMAIL: chretienxavier42@gmail.com
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BUILD_DIR: ./build/web
CNAME: xavierc.dev