Migrating to Gitea CI
This commit is contained in:
@@ -8,7 +8,7 @@ jobs:
|
|||||||
bash:
|
bash:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update && apt -y install rsync tar openssl shellcheck
|
apt update && apt -y install rsync tar openssl shellcheck
|
||||||
|
|||||||
25
.github/workflows/backup.sh.yml
vendored
25
.github/workflows/backup.sh.yml
vendored
@@ -1,25 +0,0 @@
|
|||||||
name: backup.sh
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
bash:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt -y install rsync tar openssl shellcheck
|
|
||||||
- name: Run ShellCheck
|
|
||||||
run: |
|
|
||||||
shellcheck backup.sh
|
|
||||||
shellcheck tests.sh
|
|
||||||
- name: Install using Makefile
|
|
||||||
run: |
|
|
||||||
sudo make install
|
|
||||||
- name: Run unit tests
|
|
||||||
run: |
|
|
||||||
sudo ./tests.sh I_HAVE_READ_THE_HELPER
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
# backup.sh 
|
# backup.sh 
|
||||||
|
|
||||||
`backup.sh` is a POSIX compliant, modular and lightweight backup utility to save and encrypt your files.
|
`backup.sh` is a POSIX compliant, modular and lightweight backup utility to save and encrypt your files.
|
||||||
This tool is intended to be used on small scale UNIX environments such as VPS, personal servers and
|
This tool is intended to be used on small scale UNIX environments such as VPS, personal servers and
|
||||||
workstations. `backup.sh` uses [rsync](https://linux.die.net/man/1/rsync), [tar](https://linux.die.net/man/1/tar),
|
workstations. `backup.sh` uses [rsync](https://linux.die.net/man/1/rsync), [tar](https://linux.die.net/man/1/tar),
|
||||||
|
|||||||
Reference in New Issue
Block a user