From fefff3eea19bd54aec0fe9e1ed8e08e362568acf Mon Sep 17 00:00:00 2001 From: x-wei Date: Sun, 9 Jun 2024 14:46:14 +0200 Subject: [PATCH] upd web gh workflow --- .github/workflows/build-web.yml | 12 ++++++------ .github/workflows/publish-web.yml | 28 ---------------------------- 2 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/publish-web.yml diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml index 693357e..5035155 100644 --- a/.github/workflows/build-web.yml +++ b/.github/workflows/build-web.yml @@ -20,9 +20,9 @@ jobs: with: channel: stable cache: true - # - name: Build and deploy to GH pages - # uses: bluefireteam/flutter-gh-pages@v7 - - run: flutter pub get - - run: flutter build web --release - - name: Deploy to GH pages - uses: peaceiris/actions-gh-pages@v4 \ No newline at end of file + - name: Build and deploy to GH pages + uses: bluefireteam/flutter-gh-pages@v7 + # - run: flutter pub get + # - run: flutter build web --release + # - name: Deploy to GH pages + # uses: peaceiris/actions-gh-pages@v4 \ No newline at end of file diff --git a/.github/workflows/publish-web.yml b/.github/workflows/publish-web.yml deleted file mode 100644 index 5035155..0000000 --- a/.github/workflows/publish-web.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Build web & publish to Github Pages - -on: - workflow_dispatch: - -jobs: - build-and-deploy-web: - runs-on: ubuntu-latest - steps: - - name: Clone repository - uses: actions/checkout@v4 - - name: Cache Flutter - uses: actions/cache@v3 - id: flutter-cache - with: - key: $GITHUB_SHA-flutter - path: ~/.flutter - - name: Set up Flutter - uses: subosito/flutter-action@v2 - with: - channel: stable - cache: true - - name: Build and deploy to GH pages - uses: bluefireteam/flutter-gh-pages@v7 - # - run: flutter pub get - # - run: flutter build web --release - # - name: Deploy to GH pages - # uses: peaceiris/actions-gh-pages@v4 \ No newline at end of file