-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from AcarFurkan/fix-pr-deployment-flow
Update PR deployment method
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
name: Deploy to Firebase Hosting on PR | ||
name: Deploy Wolt Examples on PR | ||
'on': pull_request_target | ||
jobs: | ||
build_and_preview: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
- uses: subosito/[email protected] | ||
with: | ||
channel: stable | ||
flutter-version-file: pubspec.yaml # path to pubspec.yaml | ||
- run: flutter build web --release --web-renderer=canvaskit | ||
working-directory: ./coffee_maker | ||
- run: flutter build web --release --web-renderer=canvaskit | ||
|