Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohuishou/hugo-action
use github action with hugo
https://github.com/mohuishou/hugo-action
github-actions hugo
Last synced: about 2 months ago
JSON representation
use github action with hugo
- Host: GitHub
- URL: https://github.com/mohuishou/hugo-action
- Owner: mohuishou
- License: mit
- Created: 2019-01-14T05:07:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-30T18:00:45.000Z (about 6 years ago)
- Last Synced: 2024-11-06T21:45:37.931Z (3 months ago)
- Topics: github-actions, hugo
- Language: Shell
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hugo-action
use github action with hugo
## Defaults
1. You run this actions in your blog source file repository
2. Your blog is placed in youname.github.io## use
add `.github/main.workflow` in repo
```
workflow "blog ci/cd" {
on = "push"
resolves = ["hugo"]
}action "hugo" {
uses = "docker://mohuishou/hugo-action:0.53"
secrets = ["TOKEN"]
}
```## env
| Key | Value | Must |
| ----- | ----------------- | ---- |
| TOKEN | your github token | yes |
| EMAIL | your email | yes |