|
1 |
| -name: The name of your action here |
2 |
| -description: Provide a description here |
3 |
| -author: Your name or organization here |
| 1 | +name: Coolify NodeJS and Supabase Deployment |
| 2 | +description: |
| 3 | + Deploys a mono-repo application with a Nixpacks frontend and Supabase backend |
| 4 | + to Coolify. |
| 5 | +author: Jonathan Bell |
4 | 6 |
|
5 |
| -# Add your action's branding here. This will appear on the GitHub Marketplace. |
6 | 7 | branding:
|
7 | 8 | icon: heart
|
8 | 9 | color: red
|
9 | 10 |
|
10 | 11 | # Define your inputs here.
|
11 | 12 | inputs:
|
12 |
| - milliseconds: |
13 |
| - description: Your input description here |
| 13 | + deployment_app_uuid: |
| 14 | + description: The UUID of the Coolify GitHub app to use for generating deployments |
| 15 | + required: false |
| 16 | + base_deployment_url: |
| 17 | + description: The base URL to deploy the web application to. This is used to generate the deployment URL. |
| 18 | + required: false |
| 19 | + default: 'dev.pawtograder.net' |
| 20 | + ephemeral: |
| 21 | + description: |
| 22 | + Whether to deploy the application as ephemeral (will be deleted after 24 |
| 23 | + hours). |
| 24 | + required: false |
| 25 | + default: false |
| 26 | + type: boolean |
| 27 | + coolify_api_url: |
| 28 | + description: The URL of the Coolify API. |
| 29 | + required: true |
| 30 | + default: 'https://api.coolify.io' |
| 31 | + coolify_api_token: |
| 32 | + description: The token for the Coolify API. |
| 33 | + required: true |
| 34 | + coolify_project_uuid: |
| 35 | + description: The UUID of the Coolify project to deploy to. |
| 36 | + required: true |
| 37 | + coolify_environment_uuid: |
| 38 | + description: The UUID of the Coolify environment to deploy to. |
| 39 | + required: true |
| 40 | + default: 'f0c00s0s8g88ock4swc0w4w8' |
| 41 | + coolify_environment_name: |
| 42 | + description: The name of the Coolify environment to deploy to. |
| 43 | + required: true |
| 44 | + coolify_server_uuid: |
| 45 | + description: The UUID of the Coolify server to deploy to. |
| 46 | + required: false |
| 47 | + coolify_supabase_deploy_token: |
| 48 | + description: The deploy token for the Supabase service. |
| 49 | + required: true |
| 50 | + coolify_supabase_api_url: |
| 51 | + description: |
| 52 | + The URL of the Supabase deployment service. See |
| 53 | + https://github.com/pawtograder/supabase-coolify-deployment |
| 54 | + required: true |
| 55 | + coolify_supabase_service_role_key: |
| 56 | + description: |
| 57 | + The service role key for the Supabase deployment service. See |
| 58 | + https://github.com/pawtograder/supabase-coolify-deployment |
14 | 59 | required: true
|
15 |
| - default: '1000' |
16 | 60 |
|
17 | 61 | # Define your outputs here.
|
18 | 62 | outputs:
|
19 |
| - time: |
20 |
| - description: Your output description here |
| 63 | + supabase_url: |
| 64 | + description: The URL of the newly deployed Supabase service. |
| 65 | + supabase_service_role_key: |
| 66 | + description: The service role key for the newly deployed Supabase service. |
| 67 | + supabase_anon_key: |
| 68 | + description: The anon key for the newly deployed Supabase service. |
| 69 | + app_url: |
| 70 | + description: The URL of the newly deployed frontend web application. |
| 71 | + service_uuid: |
| 72 | + description: The UUID of the newly deployed service. |
| 73 | + app_uuid: |
| 74 | + description: The UUID of the newly deployed web application. |
21 | 75 |
|
22 | 76 | runs:
|
23 | 77 | using: node20
|
|
0 commit comments