Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielrufino committed Dec 7, 2024
1 parent ef03f4f commit ce75348
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: '@actalog/mongodump'
description: GitHub Action for creating a binary export of a database's contents
branding:
icon: 'database'
color: 'green'

inputs:
connection-string:
Expand All @@ -10,7 +13,3 @@ runs:
image: 'Dockerfile'
args:
- ${{ inputs.connection-string }}

branding:
icon: 'database'
color: 'green'
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh -l

apt update && apt upgrade -y

cd /action
mongodump $1
mkdir $GITHUB_WORKSPACE/dump
Expand Down

0 comments on commit ce75348

Please sign in to comment.