mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Docs
This commit is contained in:
parent
c251856a53
commit
097d2b354c
2
.github/workflows/sponsors.yml
vendored
2
.github/workflows/sponsors.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
minimum: 500
|
minimum: 500
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.2
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
||||||
with:
|
with:
|
||||||
branch: dev
|
branch: dev
|
||||||
folder: '.'
|
folder: '.'
|
||||||
|
12
README.md
12
README.md
@ -60,7 +60,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.2
|
uses: JamesIves/github-pages-deploy-action@4.1.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.
|
||||||
@ -178,7 +178,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@4.1.2
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: site
|
folder: site
|
||||||
@ -207,7 +207,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.2
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: build
|
folder: build
|
||||||
@ -274,7 +274,7 @@ jobs:
|
|||||||
name: site
|
name: site
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.2
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
@ -296,7 +296,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@4.1.2
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -327,7 +327,7 @@ jobs:
|
|||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Deploy 🚀
|
- name: Deploy 🚀
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.2
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: build
|
folder: build
|
||||||
|
Loading…
Reference in New Issue
Block a user