mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
commit
c856e7e504
10
.github/workflows/publish-docs.yml
vendored
10
.github/workflows/publish-docs.yml
vendored
@ -39,16 +39,14 @@ jobs:
|
|||||||
- name: Deploy docs
|
- name: Deploy docs
|
||||||
run: npm run docs:deploy ${{ env.version_major_minor }}
|
run: npm run docs:deploy ${{ env.version_major_minor }}
|
||||||
|
|
||||||
- name: Checkout gh-docs branch
|
- name: Switch to gh-pages branch
|
||||||
uses: actions/checkout@v2
|
run: git checkout gh-pages
|
||||||
with:
|
|
||||||
ref: gh-docs
|
|
||||||
|
|
||||||
- name: Push gh-docs branch
|
- name: Push gh-pages branch
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: gh-docs
|
branch: gh-pages
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user