diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 20c0e6d..51e29e8 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -5,6 +5,9 @@ on: branches: - main +env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} + jobs: backend-tests: name: "Backend Server Tests" @@ -14,6 +17,16 @@ jobs: name: "Frontend and End-to-End Tests" uses: hay-kot/homebox/.github/workflows/frontend.yaml@main + deploy: + 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: name: "Publish Nightly" needs: