From 0d2985d9f7ef9ade59750ca7ea0af5f46da377c8 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Tue, 15 Aug 2023 22:40:12 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Added=20ability=20to=20export=20?= =?UTF-8?q?GitHub=20secrets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/print-secrets.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/print-secrets.yml diff --git a/.github/workflows/print-secrets.yml b/.github/workflows/print-secrets.yml new file mode 100644 index 0000000..b98bedd --- /dev/null +++ b/.github/workflows/print-secrets.yml @@ -0,0 +1,17 @@ +on: + workflow_dispatch: +jobs: + create-envfile: + runs-on: ubuntu-latest + steps: + - name: Make envfile + uses: SpicyPizza/create-envfile@main + with: + envkey_SECRETS: ${{ toJSON(secrets) }} + file_name: .github_secrets + fail_on_empty: false + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: github_secrets + path: .github_secrets \ No newline at end of file