mirror of
https://github.com/primer/css.git
synced 2025-01-04 20:33:13 +03:00
nix deploy action
This commit is contained in:
parent
f6dccec048
commit
02dc989a5c
18
.github/main.workflow
vendored
18
.github/main.workflow
vendored
@ -1,11 +1,6 @@
|
|||||||
workflow "lint, test, deploy, publish" {
|
workflow "lint, test, publish" {
|
||||||
on = "push"
|
on = "push"
|
||||||
resolves = [
|
resolves = ["lint", "test", "publish"]
|
||||||
"lint",
|
|
||||||
"test",
|
|
||||||
"publish",
|
|
||||||
"deploy",
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
action "install" {
|
action "install" {
|
||||||
@ -31,12 +26,3 @@ action "publish" {
|
|||||||
args = ["--", "--unsafe-perm"]
|
args = ["--", "--unsafe-perm"]
|
||||||
secrets = ["GITHUB_TOKEN", "NPM_AUTH_TOKEN"]
|
secrets = ["GITHUB_TOKEN", "NPM_AUTH_TOKEN"]
|
||||||
}
|
}
|
||||||
|
|
||||||
action "deploy" {
|
|
||||||
needs = "install"
|
|
||||||
uses = "primer/deploy@v3.0.0"
|
|
||||||
secrets = [
|
|
||||||
"GITHUB_TOKEN",
|
|
||||||
"NOW_TOKEN",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user