From 3d07b6dede8aa685dc105bcf3a4a6f10969fc680 Mon Sep 17 00:00:00 2001 From: WonChul Heo Date: Mon, 3 May 2021 12:07:16 +0900 Subject: [PATCH] Fix README.md closed #10 --- README.md | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/README.md b/README.md index 8f5b058..f686777 100644 --- a/README.md +++ b/README.md @@ -6,38 +6,7 @@ This Action for hexo enables arbitrary actions with the hexo command-line client An example workflow to clean, generate, and deploy an hexo to the default public registry follows: -### 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)) - -```hcl -workflow "Clean, Generate, and Deploy" { - on = "push" - resolves = ["Deploy"] -} - -action "Clean" { - uses = "heowc/action-hexo@main" - args = "clean" -} - -action "Generate" { - needs = "Clean" - uses = "heowc/action-hexo@main" - args = "generate" -} - -action "Deploy" { - needs = "Generate" - uses = "heowc/action-hexo@main" - args = "deploy" - env = { - NAME = "input name ..." - EMAIL = "input email ..." - } -} -``` - -### 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)) - +### YAML syntax ```yaml on: push name: Deploy