mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-22 14:56:31 +00:00
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@v3
|
|
- 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 }}
|
|
|
|
|