From 144c3a802ddde84731a10bff9406b6d39d8a7aad Mon Sep 17 00:00:00 2001 From: dereckmezquita Date: Sun, 28 Apr 2024 23:01:36 -0500 Subject: [PATCH] DN-1: Forgot to delcare var2 --- .github/workflows/release_dev.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_dev.yml b/.github/workflows/release_dev.yml index 58914c4b25..d21f4f9a96 100644 --- a/.github/workflows/release_dev.yml +++ b/.github/workflows/release_dev.yml @@ -4,6 +4,7 @@ on: push: branches-ignore: - 'master' + pull_request: jobs: deploy_to_linode: name: Deploy to Linode @@ -13,10 +14,10 @@ jobs: uses: actions/checkout@v4 - name: Set branch name as env var - run: echo "BRANCH_NAME=${{ github.head_ref }}" >> $GITHUB_ENV + run: echo "BRANCH_NAME=${{ github.ref_name }}" >> $GITHUB_ENV - name: Use branch name - run: echo "The branch name is ${{ github.head_ref }}" + run: echo "The branch name is $BRANCH_NAME" - name: Execute remote Docker Compose command uses: appleboy/ssh-action@v1.0.3