Print git refs to check if the deploy job is entering the if statement
This commit is contained in:
parent
2c720e80ab
commit
3d7741f3df
|
@ -75,6 +75,13 @@ jobs:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Check refs
|
||||||
|
run: |
|
||||||
|
echo $GITHUB_REF_NAME
|
||||||
|
echo $GITHUB_REF
|
||||||
|
echo $GITHUB_REF_TYPE
|
||||||
|
|
||||||
- name: Trigger Remote Script
|
- name: Trigger Remote Script
|
||||||
run: |
|
run: |
|
||||||
response=$(curl -s -o /dev/null -w "%{http_code}" -X POST http://45.150.187.54:5000/trigger-script -H "Authorization: SecretToken")
|
response=$(curl -s -o /dev/null -w "%{http_code}" -X POST http://45.150.187.54:5000/trigger-script -H "Authorization: SecretToken")
|
||||||
|
|
Loading…
Reference in a new issue