forked from mirrors/homebox
temp: drop tests
This commit is contained in:
parent
6b1110b3c5
commit
cc78b19d6e
1 changed files with 22 additions and 22 deletions
44
.github/workflows/publish.yaml
vendored
44
.github/workflows/publish.yaml
vendored
|
@ -12,31 +12,31 @@ env:
|
|||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
||||
|
||||
jobs:
|
||||
backend-tests:
|
||||
name: "Backend Server Tests"
|
||||
uses: hay-kot/homebox/.github/workflows/partial-backend.yaml@main
|
||||
# backend-tests:
|
||||
# name: "Backend Server Tests"
|
||||
# uses: hay-kot/homebox/.github/workflows/partial-backend.yaml@main
|
||||
|
||||
frontend-tests:
|
||||
name: "Frontend and End-to-End Tests"
|
||||
uses: hay-kot/homebox/.github/workflows/partial-frontend.yaml@main
|
||||
# frontend-tests:
|
||||
# name: "Frontend and End-to-End Tests"
|
||||
# uses: hay-kot/homebox/.github/workflows/partial-frontend.yaml@main
|
||||
|
||||
deploy:
|
||||
name: "Deploy Nightly to Fly.io"
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- backend-tests
|
||||
- frontend-tests
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
- run: flyctl deploy --remote-only
|
||||
# deploy:
|
||||
# name: "Deploy Nightly to Fly.io"
|
||||
# runs-on: ubuntu-latest
|
||||
# needs:
|
||||
# - backend-tests
|
||||
# - frontend-tests
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
# - run: flyctl deploy --remote-only
|
||||
|
||||
publish-nightly:
|
||||
name: "Publish Nightly"
|
||||
if: ${{ github.event_name != 'release' }}
|
||||
needs:
|
||||
- backend-tests
|
||||
- frontend-tests
|
||||
# needs:
|
||||
# - backend-tests
|
||||
# - frontend-tests
|
||||
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
|
||||
with:
|
||||
tag: nightly
|
||||
|
@ -46,9 +46,9 @@ jobs:
|
|||
publish-tag:
|
||||
name: "Publish Tag"
|
||||
if: github.event_name == 'release'
|
||||
needs:
|
||||
- backend-tests
|
||||
- frontend-tests
|
||||
# needs:
|
||||
# - backend-tests
|
||||
# - frontend-tests
|
||||
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
|
||||
with:
|
||||
release: true
|
||||
|
|
Loading…
Reference in a new issue