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
91d4e8f962
commit
32b51ecac7
12
README.md
12
README.md
@ -73,7 +73,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.2.2
|
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
||||||
with:
|
with:
|
||||||
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.
|
||||||
@ -191,7 +191,7 @@ With this configured you can then set the `ssh-key` part of the action to your p
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.2.2
|
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: site
|
folder: site
|
||||||
@ -221,7 +221,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.2.2
|
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: build
|
folder: build
|
||||||
@ -289,7 +289,7 @@ jobs:
|
|||||||
name: site
|
name: site
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.2.2
|
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here.
|
folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here.
|
||||||
@ -310,7 +310,7 @@ If you use a [container](https://help.github.com/en/actions/automating-your-work
|
|||||||
apt-get update && apt-get install -y rsync
|
apt-get update && apt-get install -y rsync
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.2.2
|
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -342,7 +342,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.2.2
|
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: build
|
folder: build
|
||||||
|
Loading…
Reference in New Issue
Block a user