Skip to content

Commit 48be759

Browse files
authored
Add the install action for the doc's module (#158)
1 parent 1ba7805 commit 48be759

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/main.workflow

+10-4
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,25 @@ workflow "Deploy to GitHub Pages" {
44
}
55

66
action "Filter branch" {
7-
uses = "actions/bin/filter@master"
7+
uses = "actions/bin/filter/@master"
88
args = "branch master"
99
}
1010

11-
action "Update version" {
11+
action "Install" {
1212
needs = ["Filter branch"]
13+
uses = "actions/npm@master"
14+
args = "install --prefix ./website"
15+
}
16+
17+
action "Update version" {
18+
needs = ["Install"]
1319
uses = "clay/docusaurus-github-action@master"
14-
args="version"
20+
args = "version"
1521
}
1622

1723
action "Build and push docs" {
1824
needs = ["Update version"]
1925
uses = "clay/docusaurus-github-action@master"
20-
args="deploy"
26+
args = "deploy"
2127
secrets = ["DEPLOY_SSH_KEY", "ALGOLIA_API_KEY"]
2228
}

0 commit comments

Comments
 (0)