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" \
|
"\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')
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue