File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - name : tar the existing docs
2323 run : |
2424 mkdir -p ./docs
25- tar -cvf documentation.tar --no-dereference ./docs
25+ tar -cvf documentation.tar ./docs
2626
2727 - name : create a document artifact
2828 uses : runloopai/upload-artifact@main
6262 run : yarn docs # set up 'docs' build script in your package.json
6363
6464 - name : tar the new docs
65- run : tar -cvf newdocumentation.tar --no-dereference ./docs
65+ run : tar -cvf newdocumentation.tar ./docs
6666
6767 - name : create a new document artifact
6868 uses : runloopai/upload-artifact@main
Original file line number Diff line number Diff line change 3434
3535 - name : Add stable tag to NPM release
3636 run : |
37+ npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
3738 cd dist
3839 PACKAGE_NAME="$(jq -r -e '.name' ./package.json)"
3940 VERSION="$(jq -r -e '.version' ./package.json)"
4546 else
4647 echo "Skipping stable tag for prerelease version $VERSION"
4748 fi
49+ env :
50+ NPM_TOKEN : ${{ secrets.RUNLOOP_NPM_TOKEN || secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments