This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2d1929
commit 5f95f47
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,21 @@ workflow "Deploy on master" { | |
on = "push" | ||
resolves = [ | ||
"Publish", | ||
"Check git config", | ||
] | ||
} | ||
|
||
action "Check git config" { | ||
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680" | ||
runs = "ssh" | ||
args = "-T [email protected]" | ||
secrets = ["GITHUB_TOKEN"] | ||
} | ||
|
||
action "Master" { | ||
uses = "actions/bin/filter@24a566c2524e05ebedadef0a285f72dc9b631411" | ||
runs = "ls" | ||
|
||
# args = "branch master" | ||
} | ||
|
||
|
@@ -27,5 +36,5 @@ action "Publish" { | |
uses = "actions/npm@59b64a598378f31e49cb76f27d6f3312b582f680" | ||
args = "run deploy" | ||
secrets = ["GITHUB_TOKEN"] | ||
needs = ["npm install"] | ||
needs = ["Generate"] | ||
} |