Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

rpi-client-release

rpi-client-release #13

Workflow file for this run

name: Package Deb
on:
repository_dispatch:
types: [rpi-client-release]
permissions:
contents: write
jobs:
package:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Download release
uses: robinraju/[email protected]
with:
repository: 'presentium/rpi-client-app'
latest: true
fileName: '*.deb'
- name: Import GPG key
run: echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --import
- name: Creating the Packages and Packages.gz files
run: |
dpkg-scanpackages --multiversion . > Packages
gzip -k -f Packages
- name: Creating the Release, Release.gpg and InRelease files
run: |
apt-ftparchive release . > Release
gpg --default-key "${{ vars.EMAIL }}" -abs -o - Release > Release.gpg
gpg --default-key "${{ vars.EMAIL }}" --clearsign -o - Release > InRelease
- name: Commit and push the changes
run: |
git config --local user.email "${{ vars.EMAIL }}"
git config --local user.name "${{ vars.NAME }}"
git add .
git commit -m "feat: adding package for rpi client release"
git push