Update .gitea/workflows/sec-blackbox-decrypt.yml
This commit is contained in:
@@ -16,13 +16,17 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: xaked/blackbox
|
repository: xaked/blackbox
|
||||||
path: /tmp/blackbox
|
path: blackbox
|
||||||
ref: master
|
ref: master
|
||||||
|
- name: Install blackbox
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cd blackbox || exit 1;
|
||||||
|
make copy-install;
|
||||||
|
cd ${{ github.workspace }};
|
||||||
|
rm -rf blackbox;
|
||||||
- name: Decrypt secrets
|
- name: Decrypt secrets
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd /tmp/blackbox || exit 1;
|
|
||||||
make copy-install;
|
|
||||||
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
||||||
cd ${{ github.workspace }};
|
|
||||||
blackbox_decrypt_all_files;
|
blackbox_decrypt_all_files;
|
||||||
|
|||||||
Reference in New Issue
Block a user