mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
try using the environment variable
(rebased-with-history from commit 09ce038f26
)
This commit is contained in:
commit
6fa906f386
4
.github/workflows/publish-docs.yml
vendored
4
.github/workflows/publish-docs.yml
vendored
@ -26,10 +26,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Get current version
|
- name: Get current version
|
||||||
id: version
|
id: version
|
||||||
run: echo "::set-output name=version::$(node -p "const version = require('./packages/jspsych/package.json').version; const [major, minor] = version.split('.'); return `${major}.${minor}`;")"
|
run: echo "version=$(node -p "const version = require('./packages/jspsych/package.json').version; const [major, minor] = version.split('.'); `${major}.${minor}`;")" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Deploy docs
|
- name: Deploy docs
|
||||||
run: npm run docs:deploy ${{ steps.version.outputs.version }}
|
run: npm run docs:deploy "$version"
|
||||||
|
|
||||||
- name: Checkout gh-docs branch
|
- name: Checkout gh-docs branch
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user