File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 build-docs :
4848 name : ⬆️ Build Docs
4949 runs-on : ubuntu-latest
50- # FIXME:MONOREPO If docs are in a subdirectory, uncomment the next line
51- # defaults:
52- # run:
53- # working-directory: docs
5450 steps :
5551 - uses : actions/checkout@v4
5652 with :
9288
9389 deploy-docs-pr-preview :
9490 name : 🚀 Deploy Docs
95- if : ${{ github.event_name == 'pull_request' }}
96- needs : [lint, validate, build-docs]
91+ needs : [build-docs]
9792 runs-on : ubuntu-latest
98- # FIXME:MONOREPO If docs are in a subdirectory, uncomment the next line
99- # defaults:
100- # run:
101- # working-directory: docs
10293 steps :
10394 - uses : actions/checkout@v4
10495
@@ -119,21 +110,13 @@ jobs:
119110 name : docs-versions
120111 path : app/utils/
121112
122- - name : Verify files before deploy
123- run : |
124- echo "=== Checking generated-docs structure ==="
125- ls -la generated-docs/
126- echo "=== Checking versions.ts ==="
127- cat app/utils/versions.ts
128-
129113 - uses : forge-42/fly-deploy@v1.0.0-rc.2
130114 id : deploy
131115 env :
132116 FLY_ORG : ${{ vars.FLY_ORG }}
133117 FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
134118 FLY_REGION : ${{ vars.FLY_REGION }}
135119 with :
136- # FIXME:MONOREPO If docs are in a subdirectory, add: workspace_name: docs
137120 app_name : ${{ github.event.repository.name }}-${{ github.event.number }}
138121 use_isolated_workspace : true
139122 env_vars : |
Original file line number Diff line number Diff line change 8686 FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
8787 FLY_REGION : ${{ vars.FLY_REGION }}
8888 with :
89- workspace_name : docs
9089 app_name : ${{github.event.repository.name}}-${{ github.ref_name }}
9190 use_isolated_workspace : true
9291 env_vars : |
You can’t perform that action at this time.
0 commit comments