mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-26 23:26:47 +01:00
Create torrent.yml
This commit is contained in:
27
.github/workflows/torrent.yml
vendored
Normal file
27
.github/workflows/torrent.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Torrent Generation
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
jobs:
|
||||
torrent:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Create torrents
|
||||
uses: devopsx/action-torrent@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: |
|
||||
raspap-bookworm-arm64-lite-*.img.zip
|
||||
raspap-bookworm-armhf-lite-*.img.zip
|
||||
|
||||
- name: Upload to release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: torrents/*.torrent
|
||||
Reference in New Issue
Block a user