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:
parent
d9f688e592
commit
422892579c
2
.github/main.workflow
vendored
2
.github/main.workflow
vendored
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user