Skip to content

Commit

Permalink
Add search and meilisearch deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
azlyth committed Feb 17, 2025
1 parent 429d66e commit 4060dbb
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- main
- stable

# Ensure only one deployment workflow runs at a time
concurrency:
group: "deploy"
cancel-in-progress: false

jobs:
deploy_staging:
name: Deploy apps to Staging
Expand All @@ -31,6 +36,20 @@ jobs:
FLY_API_TOKEN: ${{ secrets.FLY_TOKEN }}
run: flyctl deploy --remote-only

# Deploy Meilisearch
- name: Deploy Meilisearch
working-directory: meilisearch
env:
FLY_API_TOKEN: ${{ secrets.FLY_TOKEN }}
run: flyctl deploy --remote-only

# Deploy Search
- name: Deploy Search
working-directory: search
env:
FLY_API_TOKEN: ${{ secrets.FLY_TOKEN }}
run: flyctl deploy --remote-only

# Deploy Frontend
- name: Deploy Frontend
working-directory: frontend
Expand Down Expand Up @@ -62,6 +81,20 @@ jobs:
FLY_API_TOKEN: ${{ secrets.FLY_TOKEN }}
run: flyctl deploy --config fly.prod.toml --remote-only

# Deploy Meilisearch
- name: Deploy Meilisearch
working-directory: meilisearch
env:
FLY_API_TOKEN: ${{ secrets.FLY_TOKEN }}
run: flyctl deploy --config fly.prod.toml --remote-only

# Deploy Search
- name: Deploy Search
working-directory: search
env:
FLY_API_TOKEN: ${{ secrets.FLY_TOKEN }}
run: flyctl deploy --config fly.prod.toml --remote-only

# Deploy Frontend
- name: Deploy Frontend
working-directory: frontend
Expand Down

0 comments on commit 4060dbb

Please sign in to comment.