Skip to content

Update URL in 404.html to fix redirection issue #12

Update URL in 404.html to fix redirection issue

Update URL in 404.html to fix redirection issue #12

Workflow file for this run

name: Github-Pages
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: beta
cache: true
- name: Install dependencies
run: flutter pub get
- name: Build web
run: flutter build web --wasm --base-href /samba_public_app/
- name: Commit changes
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
git --work-tree build/web add --all
git commit -m "Deploy to GitHub Pages"
git push origin HEAD:gh-pages --force
shell: bash