homebox/.github/workflows/publish.yaml

30 lines
578 B
YAML
Raw Normal View History

name: Publish Dockers
2022-08-29 18:30:36 -08:00
on:
push:
2022-09-09 10:49:51 -08:00
branches:
- main
2022-08-29 18:30:36 -08:00
2022-09-09 11:12:25 -08:00
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
2022-08-29 18:30:36 -08:00
jobs:
2022-10-11 09:27:46 -08:00
deploy:
name: "Deploy Nightly to Fly.io"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2022-10-11 09:27:46 -08:00
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
2022-09-09 11:12:25 -08:00
2022-10-11 08:57:34 -08:00
publish-nightly:
name: "Publish Nightly"
2022-10-11 09:48:36 -08:00
if: github.event_name != 'release'
2022-10-10 19:26:29 -08:00
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
with:
2022-10-11 08:57:34 -08:00
tag: nightly
2022-10-10 19:38:39 -08:00
secrets:
2022-10-10 19:39:15 -08:00
GH_TOKEN: ${{ secrets.CR_PAT }}
2022-09-08 15:09:26 -08:00
2022-09-12 14:50:10 -08:00