Skip to content

Commit

Permalink
Test out deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Feb 3, 2025
1 parent 0ac9265 commit 1082d0d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ jobs:

deploy-preview:
name: "🚀 Deploy Docs"
runs-on: ubuntu-latest
needs: [npm-publish]
uses: forge42dev/workflows/.github/workflows/deploy-to-fly.yaml@monorepo-matrix
with:
workspace_name: docs
set_cwd_to_workspace: true
github_environment: "docs-release"
secrets:
fly_api_token: ${{ secrets.FLY_API_TOKEN }}
steps:
- uses: forge-42/fly-deploy@main
id: deploy
env:
FLY_ORG: ${{ vars.FLY_ORG }}
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_REGION: fra
with:
app_name: ${{ env.FLY_ORG }}-production
8 changes: 2 additions & 6 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ jobs:
deploy-preview:
name: "🚀 Deploy Docs"
needs: [lint, typecheck, vitest]
uses: forge42dev/workflows/.github/workflows/deploy-to-fly.yaml@monorepo-matrix
uses: forge-42/fly-deploy@main
with:
workspace_name: docs
set_cwd_to_workspace: true
github_environment: "docs-previev"
secrets:
fly_api_token: ${{ secrets.FLY_API_TOKEN }}
app_name: docs

0 comments on commit 1082d0d

Please sign in to comment.