diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-06-21 09:27:52 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-06-21 09:27:52 -0400 |
| commit | 9e4b20767b27cfa510caa32135d097096ab69bc6 (patch) | |
| tree | cd50200da428d9fd605e421af0e98f96c48a5e39 /.github | |
| parent | e0d172cf50a69729257ab2cc5b37cad4fe1cb54f (diff) | |
| download | xesite-9e4b20767b27cfa510caa32135d097096ab69bc6.tar.xz xesite-9e4b20767b27cfa510caa32135d097096ab69bc6.zip | |
.github/workflows: auto-deploy patreon-saasproxy
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/earthly.yml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/.github/workflows/earthly.yml b/.github/workflows/earthly.yml index 7ae5381..194cef1 100644 --- a/.github/workflows/earthly.yml +++ b/.github/workflows/earthly.yml @@ -39,4 +39,25 @@ jobs: id: build run: | earthly +xesite - earthly +patreon-saasproxy
\ No newline at end of file + earthly +patreon-saasproxy + deploy-patreon: + name: "Deploy patreon-saasproxy" + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - uses: actions/checkout@v4 + - uses: superfly/flyctl-actions/setup-flyctl@master + - uses: dorny/paths-filter@v3 + id: changes + with: + filters: | + src: + - '/cmd/patreon-saasproxy/*.go' + - './internal/**/*.go' + - if: steps.changes.outputs.src == 'true' + run: flyctl deploy --remote-only -c ./fly/patreon-saasproxy/fly.toml + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
\ No newline at end of file |
