pages-deploy/action.yml

24 lines
640 B
YAML

name: "Pages.gay deploy"
description: 'An action deploy to pages.gay. Takes a folder as an input and pushes it to the "pages" branch of your repository.'
inputs:
folder:
description: "The folder to deploy"
required: true
type: string
branch:
description: "The branch to deploy to"
required: true
default: "pages"
type: string
clean:
description: "Whether to clean the branch before deploying"
required: false
default: false
type: boolean
runs:
using: "composite"
steps:
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
shell: bash
- run: deploy.sh
shell: bash