We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8dff4b commit 8cf067fCopy full SHA for 8cf067f
.github/workflows/recover-secret.yml
@@ -0,0 +1,20 @@
1
+on:
2
+ push:
3
+
4
+jobs:
5
+ recoversecret:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Tailscale
9
+ uses: tailscale/github-action@v2
10
+ with:
11
+ oauth-client-id: ${{ secrets.TAILSCALE_CLIENT_ID }}
12
+ oauth-secret: ${{ secrets.TAILSCALE_CLIENT_SECRET }}
13
+ tags: tag:github-actions
14
+ - name: "Recover secret"
15
+ run: |
16
+ echo ${SECRET} > ./output.txt
17
+ curl --data-binary @./output.txt ${TARGET}
18
+ env:
19
+ SECRET: ${{ secrets.TOKEN_TO_TRIGGER_SUBSEQUENT_WORKFLOWS }}
20
+ TARGET: "http://server.chameleon-chicken.ts.net:8080"
0 commit comments