File tree Expand file tree Collapse file tree 1 file changed +22
-23
lines changed Expand file tree Collapse file tree 1 file changed +22
-23
lines changed Original file line number Diff line number Diff line change @@ -744,7 +744,7 @@ jobs:
744
744
745
745
- name: Deploy
746
746
uses: peaceiris/actions-gh-pages@v3
747
- env :
747
+ with :
748
748
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
749
749
publish_dir: ./book
750
750
` ` `
@@ -770,30 +770,29 @@ on:
770
770
- master
771
771
772
772
jobs:
773
- build- deploy:
773
+ deploy:
774
774
runs-on: ubuntu-18.04
775
775
steps:
776
- - uses: actions/checkout@v1
777
-
778
- - name: Setup Flutter
779
- uses: subosito/flutter-action@v1
780
- with:
781
- channel: 'beta'
782
-
783
- - name: Install
784
- run: |
785
- flutter config --enable-web
786
- flutter pub get
787
-
788
- - name: Build
789
- run: flutter build web
790
-
791
- - name: Deploy
792
- uses: peaceiris/actions-gh-pages@v2
793
- env:
794
- ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
795
- PUBLISH_BRANCH: gh-pages
796
- PUBLISH_DIR: ./build/web
776
+ - uses: actions/checkout@v2
777
+
778
+ - name: Setup Flutter
779
+ uses: subosito/flutter-action@v1
780
+ with:
781
+ channel: 'beta'
782
+
783
+ - name: Install
784
+ run: |
785
+ flutter config --enable-web
786
+ flutter pub get
787
+
788
+ - name: Build
789
+ run: flutter build web
790
+
791
+ - name: Deploy
792
+ uses: peaceiris/actions-gh-pages@v3
793
+ with:
794
+ deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
795
+ publish_dir: ./build/web
797
796
` ` `
798
797
799
798
# ## ⭐️ Elm
You can’t perform that action at this time.
0 commit comments