mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update README.md
This commit is contained in:
parent
ae5d58fae3
commit
88ffcdb57b
@ -23,12 +23,11 @@ jobs:
|
|||||||
uses: JamesIves/github-pages-deploy-action@releases/v3
|
uses: JamesIves/github-pages-deploy-action@releases/v3
|
||||||
with:
|
with:
|
||||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
BASE_BRANCH: master # The branch the action should deploy from.
|
|
||||||
BRANCH: gh-pages # The branch the action should deploy to.
|
BRANCH: gh-pages # The branch the action should deploy to.
|
||||||
FOLDER: build # The folder the action should deploy.
|
FOLDER: build # The folder the action should deploy.
|
||||||
```
|
```
|
||||||
|
|
||||||
If you'd like to make it so the workflow only triggers on push events to specific branches then you can modify the `on` section. You'll still need to specify a `BASE_BRANCH` if you're deploying from a branch other than `master`.
|
If you'd like to make it so the workflow only triggers on push events to specific branches then you can modify the `on` section.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
on:
|
on:
|
||||||
|
Loading…
Reference in New Issue
Block a user