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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |