Skip to content

Try to deploy to github pages #12

Try to deploy to github pages

Try to deploy to github pages #12

Workflow file for this run

name: Web and Android-Release
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
- uses: actions/checkout@v3
# - name: Android Build
# working-directory: ./headless_haystack
# run: |
# flutter pub get
# flutter build apk --release
# - name: Upload Android Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: android
# path: ./headless_haystack/build/app/outputs/flutter-apk/app-release.apk
# - name: Web Build
# working-directory: ./headless_haystack
# run: |
# flutter build web --release
# - name: Upload Web Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: web
# path: ./headless_haystack/build/web
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:

Check failure on line 38 in .github/workflows/ubuntu.yaml

View workflow run for this annotation

GitHub Actions / Web and Android-Release

Invalid workflow file

The workflow is not valid. .github/workflows/ubuntu.yaml (Line: 38, Col: 14): Unexpected value '' .github/workflows/ubuntu.yaml (Line: 39, Col: 9): Unexpected value 'github_token'
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./headless_haystack/web