From 0592fad08056223dc75641cc3297274ece1ff49b Mon Sep 17 00:00:00 2001 From: jacobpascual Date: Sun, 11 Jan 2026 04:57:34 +0000 Subject: [PATCH] Add Gitea Actions workflow (from GitHub) --- .gitea/workflows/release-published.yml | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/release-published.yml diff --git a/.gitea/workflows/release-published.yml b/.gitea/workflows/release-published.yml new file mode 100644 index 0000000..863e865 --- /dev/null +++ b/.gitea/workflows/release-published.yml @@ -0,0 +1,34 @@ +--- +name: Publish to apt repository + +on: + release: + types: [published] + +jobs: + publish-to-apt-repo: + runs-on: ubuntu-latest + + steps: + - uses: dawidd6/action-download-artifact@v2 + with: + workflow: build.yml + commit: ${{ github.sha }} + + - name: Release tailscale-initramfs on Github Pages repository + # peternewman/apt-repo-action@globs + uses: peternewman/apt-repo-action@ff037894ae6f9a6a40c56f0993d083adc23b7986 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + repo_supported_arch: | + amd64 + arm64 + armhf + i386 + repo_supported_version: stable + file: deb/tailscale-initramfs*.deb + file_target_version: stable + public_key: ${{ secrets.APT_SIGNING_PUBLIC }} + private_key: ${{ secrets.APT_SIGNING_PRIVATE }} + key_passphrase: ${{ secrets.APT_SIGNING_PASSPHRASE }} + debug: true