Skip to content
Snippets Groups Projects
Commit c16f6d73 authored by ArtOfCode-'s avatar ArtOfCode-
Browse files

Get branch name properly

parent 31bfc0be
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: nelonoel/branch-name@v1
- name: Set up SSH key
run: |
echo "${{ secrets.DEV_DEPLOY_KEY }}" > ~/deploy_key
......@@ -16,4 +17,4 @@ jobs:
- name: Run SSH deploy command
run: |
ssh -i ~/deploy_key -o StrictHostKeyChecking=no ubuntu@dev.codidact.org "cd /var/apps/qpixel ; bash -l ./deploy ${GITHUB_REF##*/}"
ssh -i ~/deploy_key -o StrictHostKeyChecking=no ubuntu@dev.codidact.org "cd /var/apps/qpixel ; bash -l ./deploy ${BRANCH_NAME}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment