Skip to content

improve sitemap

improve sitemap #128

Workflow file for this run

name: Build
'on':
push:
branches:
- master
jobs:
build:
permissions:
contents: read
pages: write
id-token: write
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.6'
channel: 'stable'
cache: true
- run: echo -e "TTS_SUBSCRIPTION_KEY=${{ secrets.TTS_SUBSCRIPTION_KEY }}\nRESEND_API_KEY=${{ secrets.RESEND_API_KEY }}" > .env
- run: flutter build appbundle --debug --dart-define-from-file=.env
- run: flutter build ios --release --no-codesign --dart-define-from-file=.env
website-build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'website'
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: 'website/build/'
website-deploy:
needs: website-build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4