Skip to content

Commit

Permalink
[CI] Manual workflow trigger deploy new release
Browse files Browse the repository at this point in the history
test 2 - Change script parameter value
  • Loading branch information
RoiArthurB committed Aug 11, 2021
1 parent 090a124 commit 8345987
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/github-travis.yml
Expand Up @@ -10,8 +10,6 @@ on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch: # For manual trigger
head_commit:
message: "ci release"

jobs:
build:
Expand Down Expand Up @@ -58,7 +56,8 @@ jobs:
env:
SSH_USER_PWD: ${{ secrets.USER_PWD }}
SSH_HOST: ${{ secrets.SSH_HOST }}
MSG: ${ github.event.head_commit.message }
# If workflow_dispatch trigger change commit message to 'ci release' else use real commit message
MSG: "${{ github.event_name == 'workflow_dispatch' && 'ci release' || github.event.head_commit.message }}"
GITHUB_TOKEN: ${{ github.token }}
SSHPASS: ${{ secrets.USER_PWD }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
Expand Down

0 comments on commit 8345987

Please sign in to comment.