diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/earthly.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/earthly.yml b/.github/workflows/earthly.yml index 881fde0..c7cd064 100644 --- a/.github/workflows/earthly.yml +++ b/.github/workflows/earthly.yml @@ -66,3 +66,29 @@ jobs: run: flyctl deploy --remote-only -c ./fly/patreon-saasproxy/fly.toml env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} + + deploy-xesite: + name: "Deploy xesite" + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + if: github.ref == 'refs/heads/main' + + steps: + - uses: actions/checkout@v4 + - uses: superfly/flyctl-actions/setup-flyctl@master + - uses: dorny/paths-filter@v3 + id: changes + with: + filters: | + src: + - 'cmd/xesite/*.go' + - 'internal/**/*.go' + - 'go.mod' + - 'go.sum' + - 'Earthfile' + - if: steps.changes.outputs.src == 'true' + run: flyctl deploy --remote-only -c ./fly/xesite/fly.toml + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
\ No newline at end of file |
