mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
15 lines
311 B
HCL
15 lines
311 B
HCL
workflow "Deploy website" {
|
|
on = "release"
|
|
resolves = ["Deploy"]
|
|
}
|
|
|
|
action "Deploy" {
|
|
uses = "docker://node:10"
|
|
runs = [
|
|
"sh",
|
|
"-c",
|
|
"git remote set-url origin https://${DEPLOY_TOKEN}@github.com/ant-design/ant-design.git && npm install && npm run deploy"
|
|
],
|
|
secrets = ["DEPLOY_TOKEN"]
|
|
}
|