fix: removed covid safe url #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: api deploy | |
on: | |
push: | |
branches: ["main"] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Pages | |
uses: actions/configure-pages@v3 | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
- name: Install dependencies | |
working-directory: .github/workflows/scripts/dart/api_validate | |
run: dart pub get | |
- name: Install dependencies (api_validate) | |
working-directory: .github/workflows/scripts/dart/api_validate | |
run: dart pub get | |
- name: Verify formatting (api_validate) | |
working-directory: .github/workflows/scripts/dart/api_validate | |
run: dart format --set-exit-if-changed . | |
- name: Analyze project source (api_validate) | |
working-directory: .github/workflows/scripts/dart/api_validate | |
run: dart analyze | |
- name: Install dependencies (api_deploy) | |
working-directory: .github/workflows/scripts/dart/api_deploy | |
run: dart pub get | |
- name: Verify formatting Deploy (api_deploy) | |
working-directory: .github/workflows/scripts/dart/api_deploy | |
run: dart format --set-exit-if-changed . | |
- name: Analyze project source (api_deploy) | |
working-directory: .github/workflows/scripts/dart/api_deploy | |
run: dart analyze | |
- name: Install dependencies (made_in_flutter_belgium_data) | |
working-directory: .github/workflows/scripts/dart/made_in_flutter_belgium_data | |
run: dart pub get | |
- name: Verify formatting Deploy (made_in_flutter_belgium_data) | |
working-directory: .github/workflows/scripts/dart/made_in_flutter_belgium_data | |
run: dart format --set-exit-if-changed . | |
- name: Analyze project source (made_in_flutter_belgium_data) | |
working-directory: .github/workflows/scripts/dart/made_in_flutter_belgium_data | |
run: dart analyze | |
- name: Api deploy | |
working-directory: .github/workflows/scripts/dart/api_deploy | |
run: dart run bin/api_deploy.dart | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: './api' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |