1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 22:24:11 +03:00

ci: rename STATUS_CONTEXT -> PUBLISH_STATUS_CONTEXT

This commit is contained in:
Shawn Allen 2019-02-05 13:56:13 -08:00
parent d9f688e592
commit 422892579c
3 changed files with 3 additions and 3 deletions

View File

@ -36,6 +36,6 @@ action "publish" {
uses = "actions/npm@master"
runs = "script/publish"
env = {
STATUS_CONTEXT = "npm publish primer"
PUBLISH_STATUS_CONTEXT = "npm publish primer"
}
}

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -e
npx action-status --context="$STATUS_CONTEXT" --state=success --description="published $version" --url="https://unpkg.com/$name@$version/"
npx action-status --context="$PUBLISH_STATUS_CONTEXT" --state=success --description="published $version" --url="https://unpkg.com/$name@$version/"
file=publish-files.txt
if [[ -f $file ]]; then

View File

@ -1,6 +1,6 @@
#!/bin/bash
npx action-status --context="$STATUS_CONTEXT" --state=pending --description="publishing $version..."
npx action-status --context="$PUBLISH_STATUS_CONTEXT" --state=pending --description="publishing $version..."
# generate the build directory
npm run dist