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