package-pipeline-nextcloud/.forgejo/workflows/package.yml
s3lph 47c94b69b2
All checks were successful
/ nextcloud-27 (push) Successful in 9m35s
/ nextcloud-27-app-calendar (push) Successful in 3m32s
/ nextcloud-27-app-contacts (push) Successful in 1m54s
/ nextcloud-27-app-deck (push) Successful in 3m30s
/ nextcloud-27-app-forms (push) Successful in 2m12s
/ nextcloud-27-app-gpoddersync (push) Successful in 1m0s
/ nextcloud-27-app-gpxpod (push) Successful in 2m38s
/ nextcloud-27-app-groupfolders (push) Successful in 1m41s
/ nextcloud-27-app-polls (push) Successful in 3m31s
/ nextcloud-27-app-previewgenerator (push) Successful in 1m0s
/ nextcloud-27-app-mail (push) Successful in 5m38s
/ nextcloud-27-app-news (push) Successful in 2m9s
/ nextcloud-27-app-nextpod (push) Successful in 1m24s
/ nextcloud-27-app-notes (push) Successful in 1m52s
/ nextcloud-27-app-notify-push (push) Successful in 3m36s
/ nextcloud-27-app-richdocuments (push) Successful in 2m11s
/ nextcloud-27-app-richdocumentscode (push) Successful in 5m19s
/ nextcloud-27-app-talk (push) Successful in 3m55s
/ nextcloud-27-app-tasks (push) Successful in 2m10s
/ nextcloud-27-app-twofactor-webauthn (push) Successful in 2m49s
/ nextcloud-27-app-user-oidc (push) Successful in 1m22s
fix: cronjob syntax
2023-11-29 07:43:52 +01:00

57 lines
1.6 KiB
YAML

---
on:
push:
branches:
- main
schedule:
- cron: "0 1 * * *" # every night at 1 AM
jobs:
# One step per package
nextcloud-27: &job
runs-on: docker
container:
image: git.kabelsalat.ch/s3lph/package-pipeline-builder:latest
env:
API_REPOSITORY_DEB: ${{ secrets.API_REPOSITORY_DEB }}
API_USERNAME: ${{ secrets.API_USERNAME }}
API_PASSWORD: ${{ secrets.API_PASSWORD }}
MAINTAINER: ${{ secrets.MAINTAINER }}
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: |
cd "${GITHUB_JOB}"
[ -x build.sh ] && ./build.sh
[ -x package.sh ] && fakeroot ./package.sh
cd build
lintian *.deb || true
# Upload to the repo
for file in *deb; do
curl --user "${API_USERNAME}:${API_PASSWORD}" \
--upload-file "${file}" \
"${API_REPOSITORY_DEB}"
done
nextcloud-27-app-calendar: *job
nextcloud-27-app-contacts: *job
nextcloud-27-app-deck: *job
nextcloud-27-app-forms: *job
nextcloud-27-app-gpoddersync: *job
nextcloud-27-app-gpxpod: *job
nextcloud-27-app-groupfolders: *job
nextcloud-27-app-polls: *job
nextcloud-27-app-previewgenerator: *job
nextcloud-27-app-mail: *job
nextcloud-27-app-news: *job
nextcloud-27-app-nextpod: *job
nextcloud-27-app-notes: *job
nextcloud-27-app-notify-push: *job
nextcloud-27-app-richdocuments: *job
nextcloud-27-app-richdocumentscode: *job
nextcloud-27-app-talk: *job
nextcloud-27-app-tasks: *job
nextcloud-27-app-twofactor-webauthn: *job
nextcloud-27-app-user-oidc: *job