Skip to content

Commit 15aabc2

Browse files
authored
add manual fix (#3679)
1 parent b10e0f1 commit 15aabc2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,16 @@ jobs:
4646
NPM_TOKEN: '' # Forces OIDC authentication
4747
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
4848

49+
- name: Temporary manual sync 'latest' tag # will be removed after sync
50+
if: github.event_name == 'workflow_dispatch' && github.ref_name == vars.LATEST_STABLE_VERSION
51+
run: |
52+
# Forces OIDC authentication for raw run commands
53+
echo "//registry.npmjs.org/:_authToken=" > "$HOME/.npmrc"
54+
55+
npm dist-tag add @shopify/[email protected] latest
56+
4957
- name: Set 'latest' NPM dist tag
50-
if: (steps.changesets.outputs.published == 'true' || github.event_name == 'workflow_dispatch') && github.ref_name == vars.LATEST_STABLE_VERSION
58+
if: steps.changesets.outputs.published == 'true' && github.ref_name == vars.LATEST_STABLE_VERSION
5159
env:
5260
PUBLISHED_PACKAGES: ${{ steps.changesets.outputs.publishedPackages }}
5361
run: |

0 commit comments

Comments
 (0)