This commit is contained in:
parent
69c18c028d
commit
9f9aa27642
1 changed files with 60 additions and 0 deletions
60
.forgejo/workflows/package.yml
Normal file
60
.forgejo/workflows/package.yml
Normal file
|
@ -0,0 +1,60 @@
|
|||
---
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: "0 0 1 * * *"
|
||||
|
||||
jobs:
|
||||
|
||||
# One step per package
|
||||
|
||||
nextcloud-27: &job
|
||||
runs-on: docker
|
||||
container:
|
||||
image: git.kabelsalat.ch/s3lph/package-pipeline-builder/builder:latest
|
||||
|
||||
group: build
|
||||
failure: ignore
|
||||
secrets:
|
||||
- GITEA_API_REPOSITORY_DEB
|
||||
- GITEA_API_USERNAME
|
||||
- GITEA_API_PASSWORD
|
||||
- MAINTAINER
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- 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
|
||||
|
Loading…
Reference in a new issue