diff --git a/.ci/deploy/deploy_message.py b/.ci/deploy/deploy_message.py index 042cfcf..2bdabe6 100644 --- a/.ci/deploy/deploy_message.py +++ b/.ci/deploy/deploy_message.py @@ -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') diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 94df5c8..c9e0a05 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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