Skip to content

Commit

Permalink
Update: disabling stop_script in autodeploy due to the known issue: a…
Browse files Browse the repository at this point in the history
  • Loading branch information
georgique committed Sep 24, 2024
1 parent ddeccae commit dabf07f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
username: ${{ inputs.username }}
key: ${{ secrets.SSH_KEY }}
port: ${{ inputs.port }}
script_stop: true
script_stop: false
script: |
echo "Changing work dir"
cd ${{ inputs.deployment_path }}
Expand All @@ -95,16 +95,8 @@ jobs:
# else
# echo "Non-branch detected, performing get reset"
echo "TMP TESTING IF"
if [[ "1" == "1" ]]; then
echo "True"
else
echo "False"
fi
echo "Checking if it's a pull request"
ref="${{ inputs.ref }}"
echo "Ref is $ref"
if [[ ${{ inputs.ref }} =~ ^refs/pull/[0-9]+/merge$ ]]; then
echo "Pull request detected"
# Handling pull requests
Expand Down

0 comments on commit dabf07f

Please sign in to comment.