We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5809a34 commit 90f9f1dCopy full SHA for 90f9f1d
1 file changed
.github/workflows/mine-and-deploy.yml
@@ -40,10 +40,9 @@ jobs:
40
sudo apt-get update -qq && sudo apt-get install -y gh
41
)
42
43
- - name: Authenticate gh
44
- env:
45
- GH_TOKEN: ${{ secrets.GH_MINING_TOKEN }}
46
- run: echo "$GH_TOKEN" | gh auth login --with-token
+ # gh authenticates via the GH_TOKEN environment variable (which we
+ # already set on each step that calls it); no explicit `gh auth login`
+ # step needed.
47
48
- name: Determine target users
49
id: targets
@@ -77,6 +76,7 @@ jobs:
77
76
working-directory: .
78
env:
79
NO_COLOR: "1"
+ GH_TOKEN: ${{ secrets.GH_MINING_TOKEN }}
80
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
81
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
82
run: |
0 commit comments