Skip to content

Commit

Permalink
Merge pull request #15 from maya-hive/develop
Browse files Browse the repository at this point in the history
Hotfix v2.0.1
  • Loading branch information
BlazeIsClone authored Sep 25, 2023
2 parents 442fb83 + 52ac398 commit a08b8c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ on:
type: string
required: true

NOTIFY_MYSQL_HOST:
type: string
required: true

NOTIFY_MYSQL_PORT:
type: string
required: true
Expand Down Expand Up @@ -208,7 +204,7 @@ jobs:
envs: TIMESTAMP
script: |
mysql \
--host ${{ inputs.NOTIFY_MYSQL_HOST }} \
--host localhost \
--port ${{ inputs.NOTIFY_MYSQL_PORT }} \
--user ${{ inputs.NOTIFY_MYSQL_USER }} \
-p${{ secrets.NOTIFY_MYSQL_PASS }} \
Expand Down Expand Up @@ -237,7 +233,7 @@ jobs:
envs: TIMESTAMP
script: |
mysql \
--host ${{ inputs.NOTIFY_MYSQL_HOST }} \
--host localhost \
--port ${{ inputs.NOTIFY_MYSQL_PORT }} \
--user ${{ inputs.NOTIFY_MYSQL_USER }} \
-p${{ secrets.NOTIFY_MYSQL_PASS }} \
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ on:
type: string
required: true

NOTIFY_MYSQL_HOST:
type: string
required: true

NOTIFY_MYSQL_PORT:
type: string
required: true
Expand Down Expand Up @@ -162,7 +158,7 @@ jobs:
envs: TIMESTAMP
script: |
mysql \
--host ${{ inputs.NOTIFY_MYSQL_HOST }} \
--host localhost \
--port ${{ inputs.NOTIFY_MYSQL_PORT }} \
--user ${{ inputs.NOTIFY_MYSQL_USER }} \
-p${{ secrets.NOTIFY_MYSQL_PASS }} \
Expand Down Expand Up @@ -191,7 +187,7 @@ jobs:
envs: TIMESTAMP
script: |
mysql \
--host ${{ inputs.NOTIFY_MYSQL_HOST }} \
--host localhost \
--port ${{ inputs.NOTIFY_MYSQL_PORT }} \
--user ${{ inputs.NOTIFY_MYSQL_USER }} \
-p${{ secrets.NOTIFY_MYSQL_PASS }} \
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Uses AWS-compatible S3 storage to store application databases and file backup sn

Summary: The above will keep running every day at 1.00 AM and will retain up to 2 days of backups for us to roll back.

### Required GitHub Repository Action Secrets
### Required GitHub Repository Action Variables

We use Encrypted secrets to store sensitive credentials.

Expand Down Expand Up @@ -43,7 +43,7 @@ NOTIFY_MYSQL_USER
NOTIFY_MYSQL_DATABASE
```

### Required GitHub Repository Action Variables
### Required GitHub Repository Action Secrets

We use variables for non-sensitive credentials that can be read or updated later.

Expand All @@ -56,6 +56,7 @@ SERVER_SECRET_KEY
MYSQL_PASS
NOTIFY_MYSQL_PASS
NOTIFY_SERVER_SECRET_KEY
```

### Using This Workflow
Expand Down

0 comments on commit a08b8c3

Please sign in to comment.