Skip to content

Commit 393903d

Browse files
committed
add redis-flushall to vps
1 parent cbde298 commit 393903d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
username: ${{ secrets.VPS_USER }}
3434
key: ${{ secrets.VPS_SSH_KEY }}
3535
port: ${{ secrets.VPS_PORT }}
36-
source: "compose.yaml,bin/db-backup,bin/db-restore"
36+
source: "compose.yaml,bin/db-backup,bin/db-restore,bin/redis-flushall"
3737
target: ${{ secrets.VPS_APP_DIR }}/
3838

3939
- name: Deploy to VPS
@@ -52,7 +52,6 @@ jobs:
5252
fi
5353
5454
cd "${{ secrets.VPS_APP_DIR }}"
55-
chmod +x bin/db-backup bin/db-restore
5655
5756
IMAGE_TAG="sha-${{ github.event.workflow_run.head_sha }}"
5857
printf 'IMAGE_TAG=%s\n' "$IMAGE_TAG" > .env.deploy

0 commit comments

Comments
 (0)