This repository has been archived by the owner. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
46 lines (44 loc) · 1.31 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: "Bridgetown Github Pages Action"
description: "A GitHub Action to Deploy your Bridgetown site to GitHub Pages."
branding:
icon: "box"
color: "blue"
inputs:
repository:
description: "The GitHub repository to push the built site to."
required: false
default: ${{ github.repository }}
github_actor:
description: "Name of the deploy actor."
required: false
default: ${{ github.actor }}
github_token:
description: 'Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}.'
required: true
site_location:
description: "Location of the Bridgetown project within your repo."
required: false
default: "."
build_location:
description: "Location of your Bridgetown generated site."
required: false
default: "./output"
deploy_branch:
description: "Branch name to push the site to."
required: false
default: "gh-pages"
commit_message:
description: "The commit message that will be used when deploying."
required: false
default: "chore: deploy site"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.repository }}
- ${{ inputs.github_actor }}
- ${{ inputs.github_token }}
- ${{ inputs.site_location }}
- ${{ inputs.build_location }}
- ${{ inputs.deploy_branch }}
- ${{ inputs.commit_message }}