👷 Added ability to export GitHub secrets

This commit is contained in:
Nikhil Badyal
2023-08-15 22:40:12 +05:30
parent 6f883b9b2b
commit 0d2985d9f7
+17
View File
@@ -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