File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616 VERSION : ${{ github.event.deployment.payload.version }}
1717 DEPLOYMENT_ID : ${{ github.event.deployment.id }}
1818 with :
19- github-token : ${{ secrets.GITHUB_TOKEN }}
19+ github-token : ${{ secrets.DEPLOY_TOKEN }}
2020 previews : ' ant-man,flash'
2121 script : |
2222 const name = process.env.NAME;
Original file line number Diff line number Diff line change 9797 const ref = process.env.REF;
9898 const name = process.env.NAME;
9999 const version = process.env.VERSION;
100- const npmTag = process.env.VERSION_BUMP === 'beta' ? 'beta' : 'latest';
100+ const tag = process.env.VERSION_BUMP === 'beta' ? 'beta' : 'latest';
101101 const { data: deployment } = await github.repos.createDeployment({
102102 owner: context.repo.owner,
103103 repo: context.repo.repo,
@@ -109,7 +109,7 @@ jobs:
109109 version,
110110 name,
111111 ref,
112- npmTag ,
112+ tag ,
113113 },
114114 description: `Deploy ${name}@${version} on crates.io`,
115115 production_environment: true,
You can’t perform that action at this time.
0 commit comments