Skip to content

Set up your GitHub Actions workflow with a specific version of hugo-preproc.

License

Notifications You must be signed in to change notification settings

jason-dour-e/action-setup-hugo-preproc

 
 

Repository files navigation

action-setup-hugo-preproc

Action Tests

Set up your GitHub Actions workflow with a specific version of hugo-preproc.

Usage

Input hugo-preproc-version is optional; default is to install the latest version. See hugo-preproc releases for list of specific semver release tags.

Basic

Add a step that calls jason-dour/action-setup-hugo-preproc, providing the GITHUB_TOKEN from the workflow as an environment variable. This is required.

steps:
- uses: actions/checkout@v3
- uses: jason-dour/action-setup-hugo-preproc@v1.0.0
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: hugo-preproc --version

Specific hugo-preproc Version

Optionally, you may also specify the semver release tag of a specific hugo-preproc release to be installed.

steps:
- uses: actions/checkout@v3
- uses: jason-dour/action-setup-hugo-preproc@v1.0.0
  with:
    hugo-preproc-version: v3.10.0
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: hugo-preproc --version

About

Set up your GitHub Actions workflow with a specific version of hugo-preproc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%