ghaction-github-pages/action.yml
2019-08-31 23:48:53 +02:00

26 lines
611 B
YAML

# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'GitHub Pages'
description: 'GitHub Action for deploying GitHub Pages'
author: 'crazy-max'
branding:
color: 'green'
icon: 'upload-cloud'
inputs:
target_branch:
description: 'Git branch where assets will be deployed'
required: false
default: 'gh-pages'
build_dir:
description: 'Path to build directory to deploy'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.target_branch }}
- ${{ inputs.build_dir }}
env:
GITHUB_TOKEN: 'As provided by GitHub Actions'