Build Binaries #351
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |