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 16
16
VERSION : ${{ github.event.deployment.payload.version }}
17
17
DEPLOYMENT_ID : ${{ github.event.deployment.id }}
18
18
with :
19
- github-token : ${{ secrets.GITHUB_TOKEN }}
19
+ github-token : ${{ secrets.DEPLOY_TOKEN }}
20
20
previews : ' ant-man,flash'
21
21
script : |
22
22
const name = process.env.NAME;
Original file line number Diff line number Diff line change 97
97
const ref = process.env.REF;
98
98
const name = process.env.NAME;
99
99
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';
101
101
const { data: deployment } = await github.repos.createDeployment({
102
102
owner: context.repo.owner,
103
103
repo: context.repo.repo,
@@ -109,7 +109,7 @@ jobs:
109
109
version,
110
110
name,
111
111
ref,
112
- npmTag ,
112
+ tag ,
113
113
},
114
114
description: `Deploy ${name}@${version} on crates.io`,
115
115
production_environment: true,
You can’t perform that action at this time.
0 commit comments