fix environment variable
Some checks failed
Build LaTeX packages / build (push) Failing after 24s
Build LaTeX packages / deploy-pages (push) Has been skipped

This commit is contained in:
Maximilian Keßler 2023-10-18 11:04:38 +02:00
parent 896956f6fa
commit 298e515a51
Signed by: max
GPG Key ID: BCC5A619923C0BA5
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,6 @@ def get_deploy_message(repo):
"\n" \
"Build branch {branch} ({hexsha}) from {repo_name}" \
.format(old_msg=old_msg,
branch=os.environ['CI_COMMIT_REF_NAME'],
branch=os.environ['REF_NAME'],
hexsha=get_latest_commit(repo).hexsha[0:7],
repo_name='kesslermaximilian/LatexPackages')

View File

@ -27,6 +27,8 @@ jobs:
- name: Build packages
run: |
.ci/ci_build.sh # Note that this includes pushing to the build mirror
env:
REF_NAME: ${{ github.ref_name }}
deploy-pages:
runs-on: ubuntu-latest
needs: build