Upload files to "/"

This commit is contained in:
2023-07-11 23:15:20 +00:00
commit 8770e33f9b
3 changed files with 168 additions and 0 deletions

31
action.yml Normal file
View File

@@ -0,0 +1,31 @@
name: 'Build Jekyll for GitHub Pages'
description: 'A simple GitHub Action for producing Jekyll build artifacts compatible with GitHub Pages'
author: 'GitHub'
inputs:
source:
description: 'Directory where the source files reside.'
required: false
default: ./
destination:
description: 'Output directory of the build. Although it can be nested inside the source, it cannot be the same as the source directory.'
required: false
default: ./_site
future:
description: 'Publishes posts with a future date. When set to true, the build is made with the --future option which overrides the future option that may be set in a Jekyll configuration file.'
required: false
default: false
build_revision:
description: 'The SHA-1 of the git commit for which the build is running. Default to GITHUB_SHA.'
required: false
default: ${{ github.sha }}
verbose:
description: 'Verbose output'
required: false
default: true
token:
description: 'GitHub token'
required: true
default: ${{ github.token }}
runs:
using: 'docker'
image: 'docker://ghcr.io/actions/jekyll-build-pages:v1.0.8'