mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
17 lines
475 B
YAML
17 lines
475 B
YAML
name: Deploy site
|
|
description: Deploys a built site on GitHub-Pages
|
|
inputs:
|
|
github_token:
|
|
description: Secret GitHub token
|
|
required: true
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Deploy site
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ env.GITHUB_TOKEN }}
|
|
publish_dir: ${{ env.GITHUB_WORKSPACE }}/../public
|
|
env:
|
|
GITHUB_TOKEN: ${{ inputs.github_token }}
|
|
GITHUB_WORKSPACE: ${{ github.workspace }}
|