-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
49 lines (49 loc) · 1.45 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
47
48
49
---
name: 'Pantheon WordPress Deploy Action'
description: 'Deploys a WordPress site to Pantheon'
author: 10up
branding:
icon: 'upload-cloud'
color: 'blue'
inputs:
pantheon_git_url:
description: 'Pantheon GIT URL'
required: true
multidev_env_name:
description: 'Multidev environment name'
required: false
working_dir:
description: 'Directory containing the WordPress built site'
required: false
site_name:
description: 'Pantheon site name'
required: false
terminus_token:
description: 'Terminus CLI token'
required: false
ssh_private_key:
description: 'SSH key for git access'
required: true
wordpress_version:
description: 'WordPress version to fetch into the site before pushing to Pantheon'
required: true
root_files:
description: 'Files to copy in the WordPress root directory'
required: false
git_user_name:
description: 'GIT user name needed to pull and push the Pantheon'
required: false
default: '10upbot'
git_user_email:
description: 'GIT user email address needed to pull and push the Pantheon'
required: false
default: '[email protected]'
promote_test_to_live:
description: 'Backup Pantheon Live site and promote Test to Live'
required: false
default: 'no'
runs:
using: 'docker'
image: 'docker://ghcr.io/10up/pantheon-wp-deploy-action:latest'
env:
GIT_SSH_COMMAND: "ssh -i ${HOME}/.ssh/id_rsa -F /dev/null -o StrictHostKeyChecking=no"