mirror of
https://github.com/status-im/actions-gh-pages.git
synced 2025-01-12 06:14:16 +00:00
docs: update for v3
This commit is contained in:
parent
b3cfcb13c0
commit
d0de38a352
37
README.md
37
README.md
@ -744,7 +744,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
env:
|
with:
|
||||||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
publish_dir: ./book
|
publish_dir: ./book
|
||||||
```
|
```
|
||||||
@ -770,30 +770,29 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-deploy:
|
deploy:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
uses: subosito/flutter-action@v1
|
uses: subosito/flutter-action@v1
|
||||||
with:
|
with:
|
||||||
channel: 'beta'
|
channel: 'beta'
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
flutter config --enable-web
|
flutter config --enable-web
|
||||||
flutter pub get
|
flutter pub get
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: flutter build web
|
run: flutter build web
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v2
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
env:
|
with:
|
||||||
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
PUBLISH_BRANCH: gh-pages
|
publish_dir: ./build/web
|
||||||
PUBLISH_DIR: ./build/web
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### ⭐️ Elm
|
### ⭐️ Elm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user