udpated versions
This commit is contained in:
parent
b9c621e495
commit
dc23c56e72
|
@ -17,17 +17,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout main branch
|
- name: Checkout main branch
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
path: main
|
path: main
|
||||||
- name: Checkout gh-pages branch
|
- name: Checkout gh-pages branch
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: gh-pages
|
ref: gh-pages
|
||||||
path: gh-pages
|
path: gh-pages
|
||||||
- name: Checkout Docs branch
|
- name: Checkout Docs branch
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: Docs
|
ref: Docs
|
||||||
path: Docs
|
path: Docs
|
||||||
|
@ -51,7 +51,7 @@ jobs:
|
||||||
source: "./Docs/docs/samples.json"
|
source: "./Docs/docs/samples.json"
|
||||||
target: "./gh-pages/samples.json"
|
target: "./gh-pages/samples.json"
|
||||||
- name: Commit samples.json to gh-pages
|
- name: Commit samples.json to gh-pages
|
||||||
uses: EndBug/add-and-commit@v6
|
uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
cwd: ./gh-pages
|
cwd: ./gh-pages
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Commit samples.json to Docs
|
- name: Commit samples.json to Docs
|
||||||
uses: EndBug/add-and-commit@v6
|
uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
cwd: ./Docs
|
cwd: ./Docs
|
||||||
branch: Docs
|
branch: Docs
|
||||||
|
|
Loading…
Reference in New Issue