Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heowc/action-hexo
https://github.com/heowc/action-hexo
github-actions hacktoberfest hexo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/heowc/action-hexo
- Owner: heowc
- License: mit
- Archived: true
- Created: 2019-02-02T16:44:49.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2021-05-04T04:46:42.000Z (over 3 years ago)
- Last Synced: 2024-10-13T06:37:51.104Z (3 months ago)
- Topics: github-actions, hacktoberfest, hexo
- Language: Dockerfile
- Homepage:
- Size: 8.79 KB
- Stars: 30
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - GitHub Action for Hexo
- fucking-awesome-actions - GitHub Action for Hexo
- awesome-workflows - GitHub Action for Hexo
README
# GitHub Action for Hexo
This Action for hexo enables arbitrary actions with the hexo command-line client
## Usage
An example workflow to clean, generate, and deploy an hexo to the default public registry follows:
### YAML syntax
```yaml
on: push
name: Deploy
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Clean
uses: heowc/action-hexo@main
with:
args: clean
- name: Generate
uses: heowc/action-hexo@main
with:
args: generate
- name: Deploy
uses: heowc/action-hexo@main
env:
EMAIL:
NAME:
with:
args: deploy```
### Environment variablesIf using `hexo-deployer-git` when `Deploy` action,
* `NAME` - **Optional**. To specify a name when deploying. Defaults to ""
* `EMAIL` - **Optional**. To specify a name when deploying. Defaults to ""