Skip to content

Commit d0de38a

Browse files
committed
docs: update for v3
1 parent b3cfcb1 commit d0de38a

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

README.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ jobs:
744744
745745
- name: Deploy
746746
uses: peaceiris/actions-gh-pages@v3
747-
env:
747+
with:
748748
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
749749
publish_dir: ./book
750750
```
@@ -770,30 +770,29 @@ on:
770770
- master
771771
772772
jobs:
773-
build-deploy:
773+
deploy:
774774
runs-on: ubuntu-18.04
775775
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
797796
```
798797

799798
### ⭐️ Elm

0 commit comments

Comments
 (0)