Move action_ref to env
Some checks failed
TenorJS-v2 Deploy Automation / build (pull_request) Failing after 6s

This commit is contained in:
Skylar Grant 2024-09-22 20:16:58 -04:00
parent 74d2843880
commit 7bdae6d941

View File

@ -8,6 +8,7 @@ on:
env:
DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
DHUB_PWORD: ${{ secrets.DHUB_PWORD }}
branch: ${{ github.action_ref }}
jobs:
build:
@ -15,7 +16,7 @@ jobs:
steps:
- name: Pull latest from Git
run: |
echo "${{ gitea.action_ref }}"
echo "${{ branch }}"
pwd
whoami
mkdir -p /var/lib/act_runner/
@ -27,7 +28,7 @@ jobs:
cd tenorjs-v2
git pull
fi
git checkout "${{ gitea.action_ref }}"
git checkout "${{ branch }}"
- name: Run tests
run: |
cd /var/lib/act_runner/tenorjs-v2