File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 29
29
- name : publish
30
30
env :
31
31
REFLECT_AUTH_KEY : ${{ secrets.REFLECT_AUTH_KEY }}
32
+ BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
32
33
run : |
33
- npx reflect publish --server-path="./reflect/orchestrator/server.ts" --reflect-channel=canary --app=loop-orchestrator-${GITHUB_HEAD_REF //[^a-zA-Z0-9]/-} --auth-key-from-env=REFLECT_AUTH_KEY
34
- npx reflect publish --server-path="./reflect/share/server.ts" --reflect-channel=canary --app=loop-share-${GITHUB_HEAD_REF //[^a-zA-Z0-9]/-} --auth-key-from-env=REFLECT_AUTH_KEY
35
- npx reflect publish --server-path="./reflect/play/server.ts" --reflect-channel=canary --app=loop-play-${GITHUB_HEAD_REF //[^a-zA-Z0-9]/-} --auth-key-from-env=REFLECT_AUTH_KEY
34
+ npx reflect publish --server-path="./reflect/orchestrator/server.ts" --reflect-channel=canary --app=loop-orchestrator-${BRANCH_NAME //[^a-zA-Z0-9]/-} --auth-key-from-env=REFLECT_AUTH_KEY
35
+ npx reflect publish --server-path="./reflect/share/server.ts" --reflect-channel=canary --app=loop-share-${BRANCH_NAME //[^a-zA-Z0-9]/-} --auth-key-from-env=REFLECT_AUTH_KEY
36
+ npx reflect publish --server-path="./reflect/play/server.ts" --reflect-channel=canary --app=loop-play-${BRANCH_NAME //[^a-zA-Z0-9]/-} --auth-key-from-env=REFLECT_AUTH_KEY
You can’t perform that action at this time.
0 commit comments