Print git refs to check if the deploy job is entering the if statement

This commit is contained in:
Elijah 2024-02-02 09:21:19 +01:00
parent 2c720e80ab
commit 3d7741f3df

View file

@ -75,6 +75,13 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Check refs
run: |
echo $GITHUB_REF_NAME
echo $GITHUB_REF
echo $GITHUB_REF_TYPE
- name: Trigger Remote Script
run: |
response=$(curl -s -o /dev/null -w "%{http_code}" -X POST http://45.150.187.54:5000/trigger-script -H "Authorization: SecretToken")