-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (42 loc) · 1.18 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
name: Heroku + S3 sync
description: Reset staging environment to production data (Heroku Postgres database + S3 bucket)
inputs:
aws_access_key_id:
description: AWS access key id
required: true
aws_secret_access_key:
description: AWS secret access key
required: true
aws_region:
description: Default AWS region
default: eu-west-1
s3_bucket_staging:
description: Staging bucket
required: true
s3_bucket_production:
description: Production bucket
required: true
s3_purge:
description: Delete old files on S3 staging bucket
type: boolean
default: true
heroku_api_key:
description: Heroku API key
required: true
heroku_app_production:
description: Heroku application name (production environment)
required: true
heroku_app_staging:
description: Heroku application name (staging environment)
required: true
heroku_create_backup:
description: Create a new database backup (otherwise the latest will be used)
type: boolean
default: true
rails_migrate_blobs:
description: Migrate Active Storage blobs to staging S3 bucket
type: boolean
default: true
runs:
using: docker
image: Dockerfile