Commit c67f89b 1 parent 6019595 commit c67f89b Copy full SHA for c67f89b
File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
- name : main
1
+ name : Main
2
2
3
3
on :
4
4
push :
13
13
14
14
jobs :
15
15
format :
16
+ name : Format
16
17
runs-on : ubuntu-24.04
17
18
18
19
permissions :
34
35
run : npm run format:check
35
36
36
37
deploy :
38
+ name : Deploy
37
39
if : ${{ github.event_name == 'release' }}
38
40
needs : format
39
41
runs-on : ubuntu-24.04
65
67
dist
66
68
package.json
67
69
70
+ - name : Generate GH App token
71
+ uses : actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
72
+ id : app-token
73
+ with :
74
+ app-id : ${{ secrets.BW_GHAPP_ID }}
75
+ private-key : ${{ secrets.BW_GHAPP_KEY }}
76
+
68
77
- name : Dispatch deployment
69
78
env :
70
- GITHUB_TOKEN : ${{ secrets.DEPLOYMENT_GITHUB_TOKEN }}
79
+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
71
80
run : >
72
81
gh workflow run deploy-passwordless-client-js
73
82
--repo bitwarden/passwordless-devops
You can’t perform that action at this time.
0 commit comments