Skip to content

Commit

Permalink
Update hyva-stage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhav-prabhu authored Dec 14, 2023
1 parent 635d40b commit bec3fa2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/hyva-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ on:
current-branch:
description: "Please give a custom branch to deploy"
required: false
default: ''

pull_request:
branches:
- hyva-stage
types:
- closed

env:
CUSTOM_BRANCH: ${{ github.event.inputs.current-branch || '' }}

jobs:
deployment-job:
name: Hyva Stage Deploy
Expand All @@ -36,5 +34,5 @@ jobs:
rbenv global 3.2.2
cd /home/sigosigns/build/capistrano
echo "Running deployment script on the server"
echo $CUSTOM_BRANCH
CUSTOM_BRANCH=$CUSTOM_BRANCH cap staging deploy
echo ${{ github.event.inputs.current-branch }}
CUSTOM_BRANCH=${{ github.event.inputs.current-branch }} cap staging deploy

0 comments on commit bec3fa2

Please sign in to comment.