mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-14 01:33:01 +08:00
misc: add GitHub actions for automatic deployment
This commit is contained in:
13
.github/main.workflow
vendored
Normal file
13
.github/main.workflow
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
workflow "New workflow" {
|
||||||
|
on = "push"
|
||||||
|
resolves = ["Deploy"]
|
||||||
|
}
|
||||||
|
|
||||||
|
action "Deploy" {
|
||||||
|
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680"
|
||||||
|
env = {
|
||||||
|
GIT_USER = "yangshun"
|
||||||
|
USE_SSH = "1"
|
||||||
|
}
|
||||||
|
runs = "deploy"
|
||||||
|
}
|
Reference in New Issue
Block a user