diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml new file mode 100644 index 0000000..047ad58 --- /dev/null +++ b/.gitea/workflows/cd.yaml @@ -0,0 +1,19 @@ +name: Continuous Delivery + +on: + push: + tags: + - "v[0-9]+.[0-9]+.[0-9]+" + +jobs: + build_n_upload: + runs-on: self-hosted + steps: + - uses: actions/checkout@v6 + with: + fetch-tags: true + - run: make tarball + - run: rpmbuild -ba "$(make name).spec" + - run: make upload + env: + PKG_TOKEN: ${{ secrets.PKG_TOKEN }} diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..a3aad75 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,17 @@ +name: Continuous Integration + +on: + push: + branches: + - main + +jobs: + lint_n_build: + runs-on: self-hosted + steps: + - uses: actions/checkout@v6 + with: + fetch-tags: true + - run: shellcheck files/sbin/certbot_renew + - run: make tarball + - run: rpmbuild -ba "$(make name).spec"