- debug comments to test workflow
This commit is contained in:
parent
3a1e7beb6a
commit
bf1cf517d3
@ -4,21 +4,21 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- Setup-Basic-Website
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
image_tag:
|
||||
description: 'Built Container Image to deploy'
|
||||
required: false
|
||||
default: 'latest'
|
||||
type: string
|
||||
environment:
|
||||
description: 'Coolify Environment to deploy to'
|
||||
required: false
|
||||
type: choice
|
||||
default: 'staging'
|
||||
options:
|
||||
- staging
|
||||
- production
|
||||
# workflow_dispatch:
|
||||
# inputs:
|
||||
# image_tag:
|
||||
# description: 'Built Container Image to deploy'
|
||||
# required: false
|
||||
# default: 'latest'
|
||||
# type: string
|
||||
# environment:
|
||||
# description: 'Coolify Environment to deploy to'
|
||||
# required: false
|
||||
# type: choice
|
||||
# default: 'staging'
|
||||
# options:
|
||||
# - staging
|
||||
# - production
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@ -31,6 +31,6 @@ jobs:
|
||||
with:
|
||||
endpoint: ${{ secrets.COOLIFY_ENDPOINT }}
|
||||
token: ${{ secrets.COOLIFY_TOKEN }}
|
||||
app_uuid: ${{ (contains(github.event.inputs.environment, 'staging') && secrets.COOLIFY_APP_STAGING_UUID) || secrets.COOLIFY_APP_PRODUCTION_UUID }}
|
||||
app_uuid: ${{ secrets.COOLIFY_APP_STAGING_UUID }} # ${{ (contains(github.event.inputs.environment, 'staging') && secrets.COOLIFY_APP_STAGING_UUID) || secrets.COOLIFY_APP_PRODUCTION_UUID }}
|
||||
image_name: 'gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio'
|
||||
image_tag: ${{ github.event.inputs.image_tag }}
|
||||
image_tag: dev # ${{ github.event.inputs.image_tag }}
|
||||
Loading…
x
Reference in New Issue
Block a user