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" \ "\n" \
"Build branch {branch} ({hexsha}) from {repo_name}" \ "Build branch {branch} ({hexsha}) from {repo_name}" \
.format(old_msg=old_msg, .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], hexsha=get_latest_commit(repo).hexsha[0:7],
repo_name='kesslermaximilian/LatexPackages') repo_name='kesslermaximilian/LatexPackages')

View file

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