Skip to content

refactor: Improve top navigation active state and dropdown styling #47

refactor: Improve top navigation active state and dropdown styling

refactor: Improve top navigation active state and dropdown styling #47

Workflow file for this run

name: Deploy Flutter Web to GitHub Pages
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Flutter SDK
# You may pin to the exact commit or the version.
# uses: monterail/flutter-action@8c0b4ae773b3a43022bbac48c30d7c67574bc2e6
uses: monterail/flutter-action@v1
with:
# Desired Flutter channel
channel: # optional, default is stable
- name: Install dependencies
run: flutter pub get
- name: Build Web
run: flutter build web --release --base-href "/Polizei-Flutter-Template/"
# Your project will need to have tests in test/ and a dependency on
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
run: flutter test
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/web