fix environment variable
This commit is contained in:
parent
896956f6fa
commit
298e515a51
2 changed files with 3 additions and 1 deletions
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue