Skip to content

Commit

Permalink
Updated deploy-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leslieyip02 authored Dec 18, 2023
1 parent deadd2d commit f621dfc
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,20 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Build with Flutter
uses: subosito/flutter-action@v1
- uses: subosito/flutter-action@v1
with:
flutter-version: 3.13.8
channel: "stable"

- run: flutter config --enable-web
- run: flutter create .
- run: flutter pub get
- run: flutter test
- run: flutter build web

- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
- uses: actions/configure-pages@v3
- uses: actions/jekyll-build-pages@v1
with:
source: ./build/web
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v1
- uses: actions/deploy-pages@v3

0 comments on commit f621dfc

Please sign in to comment.