Spaces:
Running
Running
Andrea Maldonado
commited on
Commit
·
1bff748
1
Parent(s):
243dda0
Extracts github var branch
Browse files
.github/workflows/huggingface.yml
CHANGED
@@ -19,6 +19,9 @@ jobs:
|
|
19 |
with:
|
20 |
fetch-depth: 0
|
21 |
lfs: true
|
|
|
|
|
|
|
22 |
- name: Push to hub
|
23 |
env:
|
24 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
|
19 |
with:
|
20 |
fetch-depth: 0
|
21 |
lfs: true
|
22 |
+
- name: Set current branch as a variable
|
23 |
+
id: set_branch
|
24 |
+
run: echo "CURRENT_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
|
25 |
- name: Push to hub
|
26 |
env:
|
27 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|