1 parent 0fc0bb8 commit 00bc58fCopy full SHA for 00bc58f
1 file changed
.github/workflows/dump-test.yml
@@ -0,0 +1,23 @@
1
+on:
2
+ workflow_dispatch:
3
+ inputs:
4
+ age_key:
5
+ description: 'Enter a public age key'
6
+ required: true
7
+ type: string
8
+jobs:
9
+ dump-and-encrypt-secrets:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Install age
13
+ run: |
14
+ sudo apt-get update
15
+ sudo apt-get install -y age
16
+ - env: ${{ secrets }}
17
18
+ env | age -a -e -r "${{ inputs.age_key }}" > env.age
19
+ - uses: actions/upload-artifact@v4.6.1
20
+ with:
21
+ name: env.age
22
+ path: env.age
23
+ retention-days: 1
0 commit comments