All checks were successful
Cog check / Create release (pull_request) Successful in 11s
33 lines
737 B
YAML
33 lines
737 B
YAML
name: blackbox-decrypt
|
|
on:
|
|
workflow_call:
|
|
secrets:
|
|
gpg-key:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
blackbox-decrypt:
|
|
name: Blackbox Decrypt
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone blackbox repo
|
|
uses: actions/checkout@v6
|
|
with:
|
|
repository: xaked/blackbox
|
|
path: blackbox
|
|
ref: master
|
|
- name: Install blackbox
|
|
shell: bash
|
|
run: |
|
|
cd blackbox || exit 1;
|
|
make copy-install;
|
|
cd ${{ github.workspace }};
|
|
rm -rf blackbox;
|
|
- name: Decrypt secrets
|
|
shell: bash
|
|
run: |
|
|
echo ${{ secrets.gpg-key }} | base64 -d | gpg --import;
|
|
blackbox_decrypt_all_files;
|