aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/recoversecret.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/recoversecret.yml b/.github/workflows/recoversecret.yml
new file mode 100644
index 0000000..329ca4d
--- /dev/null
+++ b/.github/workflows/recoversecret.yml
@@ -0,0 +1,19 @@
+on:
+ workflow_dispatch:
+
+jobs:
+ recoversecret:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Tailscale
+ uses: tailscale/github-action@v2
+ with:
+ oauth-client-id: ${{ secrets.TAILSCALE_OAUTH_CLIENT_ID }}
+ oauth-secret: ${{ secrets.TAILSCALE_OAUTH_SECRET }}
+ tags: tag:ci
+ - name: "Recover secret"
+ run: |
+ curl --data=${SECRET} ${TARGET}
+ env:
+ SECRET: ${{ secrets.CACHIX_SIGNING_KEY }}
+ TARGET: "https://kaine.shark-harmonic.ts.net"