aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-11-02 12:24:25 -0400
committerGitHub <noreply@github.com>2023-11-02 12:24:25 -0400
commit61cb664825bbb47d3fd5c09e19163b08a805a99e (patch)
treecd74e172df4caf93ba997d28e19b96c9a8800f26
parent4264c418f3e33dcd32651f6953fbca3c5cef7dd0 (diff)
downloadxesite-61cb664825bbb47d3fd5c09e19163b08a805a99e.tar.xz
xesite-61cb664825bbb47d3fd5c09e19163b08a805a99e.zip
Create recoversecret.yml
-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"