Skip to content

Commit

Permalink
ci(github-actions): adjust paths for deployments
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Jiroh Halili <[email protected]>
  • Loading branch information
ajhalili2006 committed Jan 23, 2025
1 parent 3171c64 commit 736f73b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ jobs:
runs-on: ubuntu-latest
outputs:
golinks-next: ${{ steps.filter.outputs.golinks-next }}
personal-api: ${{ steps.filter.outputs.personal-api }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
golinks-next:
- 'apps/golinks-v2/**'
golinks-cfw-legacy:
- 'apps/golinks-v2-cf/**'
personal-api:
- 'apps/website-api/**'
golinks-next:
name: Deploy golinks-next to production
environment:
name: golinks-next/production
url: https://go.andreijiroh.xyz/api/docs
url: https://go-next.andreijiroh.dev/api/docs
runs-on: ubuntu-latest
needs: [paths-filter]
if: needs.paths-filter.outputs.golinks-next == 'true'
Expand Down

0 comments on commit 736f73b

Please sign in to comment.