mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-24 01:25:41 +00:00
f74736b369
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Former-commit-id: b08e52104c
29 lines
578 B
YAML
29 lines
578 B
YAML
name: Publish Dockers
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
|
|
|
jobs:
|
|
deploy:
|
|
name: "Deploy Nightly to Fly.io"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: superfly/flyctl-actions/setup-flyctl@master
|
|
- run: flyctl deploy --remote-only
|
|
|
|
publish-nightly:
|
|
name: "Publish Nightly"
|
|
if: github.event_name != 'release'
|
|
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
|
|
with:
|
|
tag: nightly
|
|
secrets:
|
|
GH_TOKEN: ${{ secrets.CR_PAT }}
|
|
|
|
|