-
Notifications
You must be signed in to change notification settings - Fork 6
57 lines (50 loc) · 1.64 KB
/
build-deb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Build Binaries
on:
workflow_dispatch:
inputs:
version:
description: "Version to publish"
required: true
jobs:
Deb:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create Debs
uses: ./build
id: build
with:
repo: Ombi-app/Ombi
maintainer: Roxedus <[email protected]>
name: ombi
version: ${{ github.event.inputs.version }}
description: |
Want a Movie or TV Show on Plex or Emby? Use Ombi!
Ombi is a self-hosted web application that automatically gives your
shared Plex or Emby users the ability to request content by themselves!
Ombi can be linked to multiple TV Show and Movie DVR tools to create
a seamless end-to-end experience for your users.
- name: Publish Debs
uses: ./publish
with:
gpg_priv: ${{ secrets.GPG_PRIV }}
gpg_passphrase: ${{ secrets.GPG_PHRASE }}
state: ${{ steps.build.outputs.state }}
- name: Add Debs
uses: EndBug/add-and-commit@v4 # You can change this to use a specific version
with:
add: repo
author_name: RoxBot
message: Added New Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: deploy
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
cname: apt.ombi.app
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./repo/public
publish_branch: live
allow_empty_commit: "false"