generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚡️ feat: add cleanup job and refactor the code
- Loading branch information
Showing
8 changed files
with
368 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
import * as core from '@actions/core' | ||
|
||
export const RAILWAY_ENDPOINT = 'https://backboard.railway.app/graphql/v2' | ||
|
||
// Action inputs | ||
export const PROJECT_ID = core.getInput('project_id') | ||
export const PROJECT_ENVIRONMENT_NAME = core.getInput('environment_name') | ||
export const PROJECT_ENVIRONMENT_ID = core.getInput('environment_id') | ||
export const PREVIEW_ENVIRONMENT_NAME = core.getInput( | ||
'preview_environment_name' | ||
) | ||
export const ENVIRONMENT_VARIABLES = core.getInput('environment_variables') | ||
export const API_SERVICE_NAME = core.getInput('api_service_name') | ||
export const IGNORE_SERVICE_REDEPLOY = core.getInput('ignore_service_redeploy') | ||
export const BRANCH_NAME = core.getInput('branch_name') | ||
export const REUSE_PREVIEW_ENVIRONMENT = | ||
core.getInput('reuse_preview_environment') || 'true' | ||
export const IS_CLEANUP = core.getInput('cleanup') || 'false' |
Oops, something went wrong.