Skip to content

docs: Added How To Play #5

docs: Added How To Play

docs: Added How To Play #5

Workflow file for this run

name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches: [ 'flutter' ]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true
- name: Setup Flutter SDK
run: flutter --version && flutter pub get
- name: Run Unit Tests
run: flutter test
- name: Build Web Release
run: flutter build web
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './build/web/'
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4