-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (28 loc) · 772 Bytes
/
action.yml
File metadata and controls
31 lines (28 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: "Env Reader"
description: "Fetch .env-style variables from the Poyesis API and write them to a .env file + export to job env."
author: "Ahmad Alyousef"
branding:
icon: "download-cloud"
color: "blue"
inputs:
secret:
description: "Secret token for your API"
required: true
path:
description: "Where to write the .env file"
required: false
default: ".env"
append:
description: "Append to the file instead of overwriting (true/false)"
required: false
default: "false"
base_url:
description: "Base URL of the API (no trailing slash needed)"
required: false
default: "https://api.poyesis.fr"
outputs:
env:
description: "The raw .env text returned by the API"
runs:
using: "node20"
main: "dist/index.js"