File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11name : Deploy
22
33on :
4+ workflow_dispatch : # temporary for manual deployment
45 push :
56 branches :
67 # Stable version branches
@@ -46,12 +47,12 @@ jobs:
4647 GITHUB_TOKEN : ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
4748
4849 - name : Set 'latest' NPM dist tag
49- if : steps.changesets.outputs.published == 'true' && github.ref_name == vars.LATEST_STABLE_VERSION
50+ if : ( steps.changesets.outputs.published == 'true' || github.event_name == 'workflow_dispatch') && github.ref_name == vars.LATEST_STABLE_VERSION
5051 env :
5152 PUBLISHED_PACKAGES : ${{ steps.changesets.outputs.publishedPackages }}
5253 run : |
5354 # Forces OIDC authentication for raw run commands
54- echo "//registry.npmjs.org/:_authToken=" > ~ /.npmrc
55+ echo "//registry.npmjs.org/:_authToken=" > "$HOME /.npmrc"
5556
5657 for pkg in $(echo "$PUBLISHED_PACKAGES" | jq -r '.[] | @base64'); do
5758 _jq() {
You can’t perform that action at this time.
0 commit comments