-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
35 lines (35 loc) · 1.02 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
name: 'atlas-deploy-action'
description: 'Deprecated. Deploy your database schema migrations using Atlas'
branding:
icon: database
author: 'Ariga'
inputs:
url:
description: 'URL to target database (should be passed as a secret).'
required: true
dir:
description: 'Local path of the migration directory in the repository'
required: false
cloud-token:
description: 'Token for using Atlas Cloud (should be passed as a secret).'
required: false
cloud-dir:
description: 'Name of the migration directory in the cloud'
required: false
cloud-tag:
description: 'Optional. Tag of a migration version in the cloud'
required: false
outputs:
error:
description: 'Error message if any'
current:
description: 'Current migration version'
target:
description: 'Target migration version'
pending_count:
description: 'Number of pending migrations'
applied_count:
description: 'Number of applied migrations'
runs:
using: 'docker'
image: 'docker://arigaio/atlas-deploy-action:latest'