Skip to content

build(deps): bump actions/github-script from 8 to 9 #22

build(deps): bump actions/github-script from 8 to 9

build(deps): bump actions/github-script from 8 to 9 #22

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
ci:
uses: ./.github/workflows/ci.yml
build:
needs: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Install dependencies
run: flutter pub get
- name: Build web
run: flutter build web --release --pwa-strategy=offline-first --base-href "/${{ github.event.repository.name }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: build/web
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5