mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Don't always build backup db image
This commit is contained in:
parent
dfbc32617b
commit
e79a8417f4
2 changed files with 18 additions and 8 deletions
18
.github/workflows/db-backup.yml
vendored
Normal file
18
.github/workflows/db-backup.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: Docker image builds
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- containers/backup-db/**
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
backup-db:
|
||||
uses: ./.github/workflows/docker-build.yml
|
||||
with:
|
||||
name: "db-backup"
|
||||
username: "ajayyy"
|
||||
folder: "./containers/backup-db"
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
8
.github/workflows/sb-server.yml
vendored
8
.github/workflows/sb-server.yml
vendored
|
@ -21,13 +21,5 @@ jobs:
|
|||
name: "rsync-host"
|
||||
username: "ajayyy"
|
||||
folder: "./containers/rsync"
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
backup-db:
|
||||
uses: ./.github/workflows/docker-build.yml
|
||||
with:
|
||||
name: "db-backup"
|
||||
username: "ajayyy"
|
||||
folder: "./containers/backup-db"
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue