Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 5 additions & 0 deletions
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

Lines changed: 14 additions & 0 deletions
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

Lines changed: 6 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /