mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-27 12:50:47 +03:00
Don't always build backup db image
This commit is contained in:
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"
|
name: "rsync-host"
|
||||||
username: "ajayyy"
|
username: "ajayyy"
|
||||||
folder: "./containers/rsync"
|
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:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user