Skip to content

Commit 29a0b96

Browse files
committed
feat: create scaffolding for the DB migration action
1 parent 9d5c622 commit 29a0b96

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM alpine:3.13
2+
3+
COPY entrypoint.sh /entrypoint.sh
4+
5+
ENTRYPOINT ["/entrypoint.sh"]

action.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 'DB migration with DLE'
2+
description: 'Run DB migrations with the DLE'
3+
inputs:
4+
owner:
5+
description: 'The owner of the repository to check'
6+
required: true
7+
outputs:
8+
status:
9+
description: 'The result of CI checks'
10+
runs:
11+
using: 'docker'
12+
image: 'Dockerfile'
13+
args:
14+
- ${{ inputs.owner }}

entrypoint.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh -l
2+
3+
echo "Owner $1"
4+
5+
status="OK"
6+
echo "::set-output name=status::$status"

0 commit comments

Comments
 (0)