Skip to content

restore data in background or via cron job on a different server to create another copy of the data #60

restore data in background or via cron job on a different server to create another copy of the data

restore data in background or via cron job on a different server to create another copy of the data #60

Workflow file for this run

name: Shell Script Linting
on:
workflow_dispatch:
push:
branches:
- main
- 'improve**'
paths:
- '**/*.sh'
pull_request:
branches:
- main
paths:
- 'restic-backup.sh'
permissions:
contents: read
jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/[email protected]
with:
severity: error
scandir: './restic-backup.sh'
env:
SHELLCHECK_OPTS: -s bash
shfmt:
name: Shell Fomatting
runs-on: ubuntu-latest
needs: shellcheck
steps:
- name: Checkout sources
uses: actions/checkout@v5