Skip to content

Commit

Permalink
fix: connection-string var
Browse files Browse the repository at this point in the history
  • Loading branch information
zahornyak committed Sep 11, 2024
1 parent 6789778 commit af958e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./
with:
connection_string: mongodb://root:root@database:27017
connection-string: mongodb://root:root@database:27017
compress: true
- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
backup:
runs-on: ubuntu-latest
steps:
- uses: zahornyak/mongodump-action@v1
- uses: zahornyak/mongodump-action@v1.0.0
with:
connection-string: ${{ secrets.MONGO_URI }}
compress: true
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: mongodump of a MongoDB database action
description: Generate a mongodump of a MongoDB database

inputs:
connection_string:
connection-string:
required: true
description: 'The connection string to the MongoDB database'
compress:
Expand All @@ -14,7 +14,7 @@ runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.connection_string }}
- ${{ inputs.connection-string }}
- ${{ inputs.compress }}

branding:
Expand Down

0 comments on commit af958e0

Please sign in to comment.