From b81aaff9c956cc7f1666994399a839c728abdadf Mon Sep 17 00:00:00 2001 From: 0ndt Date: Thu, 14 Nov 2024 10:28:09 +0700 Subject: [PATCH] docs: update README --- README.md | 26 +++++++++++++------------- action.yml | 2 +- package.json | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c8d8b49..879d088 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # secrets-to-dotenv -[![e2e](https://github.com/thaind0/envfile/actions/workflows/e2e.yml/badge.svg)](https://github.com/thaind0/envfile/actions/workflows/e2e.yml) +[![e2e](https://github.com/0ndt/envfile/actions/workflows/e2e.yml/badge.svg)](https://github.com/0ndt/envfile/actions/workflows/e2e.yml) This is a fork of [secrets-to-env-action](https://github.com/oNaiPs/secrets-to-env) @@ -36,7 +36,7 @@ After
-- uses: thaind0/envfile@v1
+- uses: 0ndt/envfile@v2
   with:
     secrets: ${{ toJSON(secrets) }}
 - run: echo "Value of MY_SECRET1: $MY_SECRET1"
@@ -51,7 +51,7 @@ After
 Add the following action to your workflow:
 
 ```yaml
-- uses: thaind0/envfile@v1
+- uses: 0ndt/envfile@v2
   with:
     secrets: ${{ toJSON(secrets) }}
 ```
@@ -64,7 +64,7 @@ Note the `secrets` key. It is **mandatory** so the action can read and export th
 ```yaml
 steps:
 - uses: actions/checkout@v3
-- uses: thaind0/envfile@v1
+- uses: 0ndt/envfile@v2
   with:
     secrets: ${{ toJSON(secrets) }}
 - run: echo "Value of MY_SECRET: $MY_SECRET"
@@ -75,7 +75,7 @@ steps:
 ```yaml
 steps:
   - uses: actions/checkout@v3
-  - uses: thaind0/envfile@v1
+  - uses: 0ndt/envfile@v2
     with:
       secrets: ${{ toJSON(secrets) }}
       file: .prod.env
@@ -86,7 +86,7 @@ steps:
 ```yaml
 steps:
   - uses: actions/checkout@v3
-  - uses: thaind0/envfile@v1
+  - uses: 0ndt/envfile@v2
     with:
       secrets: ${{ toJSON(secrets) }}
       no_env: true
@@ -97,7 +97,7 @@ steps:
 ```yaml
 steps:
   - uses: actions/checkout@v3
-  - uses: thaind0/envfile@v1
+  - uses: 0ndt/envfile@v2
     with:
       secrets: ${{ toJSON(secrets) }}
       file:
@@ -110,7 +110,7 @@ Exclude defined secret(s) from list of secrets (comma separated, supports regex)
 ```yaml
 steps:
   - uses: actions/checkout@v3
-  - uses: thaind0/envfile@v1
+  - uses: 0ndt/envfile@v2
     with:
       secrets: ${{ toJSON(secrets) }}
       exclude: MY_SECRET, MY_OTHER_SECRETS*
@@ -122,7 +122,7 @@ steps:
 ```yaml
 steps:
 - uses: actions/checkout@v3
-- uses: thaind0/envfile@v1
+- uses: 0ndt/envfile@v2
   with:
     secrets: ${{ toJSON(secrets) }}
     include: MY_SECRET, MY_OTHER_SECRETS*
@@ -140,7 +140,7 @@ Adds a prefix to all exported secrets.
 ```yaml
 steps:
 - uses: actions/checkout@v3
-- uses: thaind0/envfile@v1
+- uses: 0ndt/envfile@v2
   with:
     secrets: ${{ toJSON(secrets) }}
     prefix: PREFIXED_
@@ -156,7 +156,7 @@ env:
   MY_SECRET: DONT_OVERRIDE
 steps:
 - uses: actions/checkout@v3
-- uses: thaind0/envfile@v1
+- uses: 0ndt/envfile@v2
   with:
     secrets: ${{ toJSON(secrets) }}
     override: false
@@ -172,7 +172,7 @@ Available: `lower, upper, camel, constant, pascal, snake`.
 ```yaml
 steps:
 - uses: actions/checkout@v3
-- uses: thaind0/envfile@v1
+- uses: 0ndt/envfile@v2
   with:
     secrets: ${{ toJSON(secrets) }}
     convert: lower
@@ -184,7 +184,7 @@ steps:
 ```yaml
 steps:
   - uses: actions/checkout@v3
-  - uses: thaind0/envfile@v1
+  - uses: 0ndt/envfile@v2
     with:
       secrets: ${{ toJSON(secrets) }}
       prefix: PREFIX_
diff --git a/action.yml b/action.yml
index 91c923a..6d9d885 100644
--- a/action.yml
+++ b/action.yml
@@ -1,6 +1,6 @@
 name: 'Export all secrets to environment variables and write to file'
 description: 'Utility action that exports all github secrets environment variables and write to file.'
-author: 'ThaiND'
+author: '0ndt'
 inputs:
   secrets:
     required: true
diff --git a/package.json b/package.json
index 5c54a51..99782f7 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/thaind0/secrets-to-dotenv-action.git"
+    "url": "git+https://github.com/0ndt/envfile.git"
   },
   "keywords": [
     "actions",