Migrating to Gitea CI

This commit is contained in:
2026-01-16 11:52:05 +01:00
parent 786c30ef14
commit e07fa5e7c3
3 changed files with 3 additions and 27 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,4 +1,5 @@
# backup.sh ![](https://github.com/ceticamarco/backup.sh/actions/workflows/backup.sh.yml/badge.svg) # backup.sh ![](https://git.marcocetica.com/marco/backup.sh/actions/workflows/backup.sh.yml/badge.svg)
`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),