We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6932d5f + c637850 commit e24ddf4Copy full SHA for e24ddf4
1 file changed
.github/actions/deploy-setup/action.yml
@@ -50,7 +50,10 @@ runs:
50
id: set-toplevel
51
shell: bash
52
run: |
53
- if [[ "$IS_DEV" == "true" ]] ; then
+ if [[ -z $GITHUB_TOKEN ]] ; then
54
+ >&2 echo '$GITHUB_TOKEN is unset, skipping deployment'
55
+ version_text=skip
56
+ elif [[ "$IS_DEV" == "true" ]] ; then
57
version_text=latest
58
elif cranko show if-released --exit-code tectonic ; then
59
version_text="$(cranko show version tectonic)"
@@ -71,4 +74,4 @@ runs:
71
74
72
75
cranko github install-credential-helper
73
76
git config --global user.email "notifications@github.com"
- git config --global user.name "Tectonic CI"
77
+ git config --global user.name "Tectonic CI"
0 commit comments