first commit

This commit is contained in:
Ryan Freeman 2024-08-20 21:45:11 +01:00
commit b42c5f4f0f
4 changed files with 27 additions and 0 deletions

1
.env.gpg Normal file
View File

@ -0,0 +1 @@
Њ  ‡-о)y—ЙюТgБ‡UlзHВЯљs(*}јД ТПµ9tRФwCЯРKї5МхЅіФH4§0ЙЗО‰iVБ {?Ч3& ¦jу|с(&L2ЛџХ<D19F>аµцP„¶T:I2hя·q{ в›

View File

@ -0,0 +1,18 @@
name: Decrypt Secrets
run-name: Workflow for decrypting secrets
on: [ push ]
jobs:
DecryptSecrets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Decrypt secrets
run: ./decrypt_secret.sh
env:
SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }}
# This command is just an example to show your secret being printed
# Ensure you remove any print statements of your secrets. GitHub does
# not hide secrets that use this workaround.
- name: Test printing your secret (Remove this step in production)
run: cat ./.env

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env
.idea/

6
decrypt_secrets.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# --batch to prevent interactive command
# --yes to assume "yes" for questions
gpg --quiet --batch --yes --decrypt --passphrase="$SECRET_PASSPHRASE" \
--output ./.env ./.env.gpg