Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.

Commit 3d07b6d

Browse files
authored
Fix README.md
closed #10
1 parent d5c9112 commit 3d07b6d

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

README.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,7 @@ This Action for hexo enables arbitrary actions with the hexo command-line client
66

77
An example workflow to clean, generate, and deploy an hexo to the default public registry follows:
88

9-
### 1. HCL syntax (not recommend, [it will be deprecated on September 30, 2019](https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax#about-the-new-yaml-syntax-for-github-actions))
10-
11-
```hcl
12-
workflow "Clean, Generate, and Deploy" {
13-
on = "push"
14-
resolves = ["Deploy"]
15-
}
16-
17-
action "Clean" {
18-
uses = "heowc/action-hexo@main"
19-
args = "clean"
20-
}
21-
22-
action "Generate" {
23-
needs = "Clean"
24-
uses = "heowc/action-hexo@main"
25-
args = "generate"
26-
}
27-
28-
action "Deploy" {
29-
needs = "Generate"
30-
uses = "heowc/action-hexo@main"
31-
args = "deploy"
32-
env = {
33-
NAME = "input name ..."
34-
EMAIL = "input email ..."
35-
}
36-
}
37-
```
38-
39-
### 2. YAML syntax (recommed, [how to migration](https://help.github.com/en/articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax#converting-workflow-files-in-your-repository-to-yaml-syntax))
40-
9+
### YAML syntax
4110
```yaml
4211
on: push
4312
name: Deploy

0 commit comments

Comments
 (0)