Skip to content

Commit 8e5b915

Browse files
frostebiteclaude
andcommitted
temp: workflow to push secrets to orchestrator repo
One-shot workflow_dispatch to copy UNITY_EMAIL, UNITY_PASSWORD, UNITY_SERIAL, and GIT_PRIVATE_TOKEN to game-ci/orchestrator. Delete this branch after running. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b351f4d commit 8e5b915

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "TEMP: Push secrets to orchestrator repo"
2+
3+
# One-shot workflow — run manually, then delete this file and branch.
4+
on:
5+
workflow_dispatch:
6+
7+
jobs:
8+
push-secrets:
9+
name: Push secrets to game-ci/orchestrator
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Push UNITY_EMAIL
13+
run: gh secret set UNITY_EMAIL --repo game-ci/orchestrator --body "$SECRET_VALUE"
14+
env:
15+
GH_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
16+
SECRET_VALUE: ${{ secrets.UNITY_EMAIL }}
17+
18+
- name: Push UNITY_PASSWORD
19+
run: gh secret set UNITY_PASSWORD --repo game-ci/orchestrator --body "$SECRET_VALUE"
20+
env:
21+
GH_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
22+
SECRET_VALUE: ${{ secrets.UNITY_PASSWORD }}
23+
24+
- name: Push UNITY_SERIAL
25+
run: gh secret set UNITY_SERIAL --repo game-ci/orchestrator --body "$SECRET_VALUE"
26+
env:
27+
GH_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
28+
SECRET_VALUE: ${{ secrets.UNITY_SERIAL }}
29+
30+
- name: Push GIT_PRIVATE_TOKEN
31+
run: gh secret set GIT_PRIVATE_TOKEN --repo game-ci/orchestrator --body "$SECRET_VALUE"
32+
env:
33+
GH_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}
34+
SECRET_VALUE: ${{ secrets.GIT_PRIVATE_TOKEN }}
35+
36+
- name: Confirm
37+
run: |
38+
echo "Secrets pushed to game-ci/orchestrator:"
39+
gh secret list --repo game-ci/orchestrator
40+
env:
41+
GH_TOKEN: ${{ secrets.GIT_PRIVATE_TOKEN }}

0 commit comments

Comments
 (0)