Skip to content

Commit 7364878

Browse files
committed
Use a single command to publish CircleCI orb
This way we are not going to store the secret token on a file of the Docker instance ran by the GitHub Action
1 parent d7bc605 commit 7364878

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#!/bin/sh -l
22

3-
# Setup using the secret CIRCLECI_TOKEN
4-
circleci setup --no-prompt --token $CIRCLECI_TOKEN
5-
63
# Publish the orb on CircleCI Orbs Registry
7-
circleci orb publish source.yml nebulab/feature-branch-preview@$GITHUB_REF
4+
circleci orb publish source.yml nebulab/feature-branch-preview@$GITHUB_REF --token $CIRCLECI_TOKEN

0 commit comments

Comments
 (0)