- debug comments to test workflow
This commit is contained in:
parent
3a1e7beb6a
commit
bf1cf517d3
@ -4,21 +4,21 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- Setup-Basic-Website
|
- Setup-Basic-Website
|
||||||
workflow_dispatch:
|
# workflow_dispatch:
|
||||||
inputs:
|
# inputs:
|
||||||
image_tag:
|
# image_tag:
|
||||||
description: 'Built Container Image to deploy'
|
# description: 'Built Container Image to deploy'
|
||||||
required: false
|
# required: false
|
||||||
default: 'latest'
|
# default: 'latest'
|
||||||
type: string
|
# type: string
|
||||||
environment:
|
# environment:
|
||||||
description: 'Coolify Environment to deploy to'
|
# description: 'Coolify Environment to deploy to'
|
||||||
required: false
|
# required: false
|
||||||
type: choice
|
# type: choice
|
||||||
default: 'staging'
|
# default: 'staging'
|
||||||
options:
|
# options:
|
||||||
- staging
|
# - staging
|
||||||
- production
|
# - production
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@ -31,6 +31,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
endpoint: ${{ secrets.COOLIFY_ENDPOINT }}
|
endpoint: ${{ secrets.COOLIFY_ENDPOINT }}
|
||||||
token: ${{ secrets.COOLIFY_TOKEN }}
|
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_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