@@ -32,18 +32,11 @@ jobs:
3232 run : pnpm install --prefer-offline --frozen-lockfile
3333
3434 - name : Generate docs
35- # FIXME uncomment if working with monorepo structure
36- # working-directory: docs
3735 env :
3836 APP_ENV : production
3937 run : pnpm run generate:docs
4038
4139 - name : Pack generated docs (tarball)
42- # FIXME adjust if working with monorepo structure
43-
44- # run: |
45- # tar -czf docs-generated.tgz -C docs generated-docs
46- # ls -lh docs/docs-generated.tgz
4740 run : |
4841 tar -czf docs-generated.tgz generated-docs
4942 ls -lh docs-generated.tgz
5851 uses : actions/upload-artifact@v4
5952 with :
6053 name : docs-versions
61- # FIXME adjust if working with monorepo structure
62- # path: docs/app/utils/versions.ts
6354 path : app/utils/versions.ts
6455 if-no-files-found : error
6556
7768 path : .
7869
7970 - name : Unpack generated docs into docs/
80- # FIXME adjust if working with monorepo structure
81-
82- # run: |
83- # set -euxo pipefail
84- # tar -xzf docs-generated.tgz -C docs
85- # ls -laR docs/generated-docs | sed -n '1,200p'
8671 run : |
8772 tar -xzf docs-generated.tgz
8873 ls -laR generated-docs | sed -n '1,200p'
9984 FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
10085 FLY_REGION : ${{ vars.FLY_REGION }}
10186 with :
102- # FIXME uncomment if working with monorepo structure
103- # workspace_name: docs
10487 app_name : ${{github.event.repository.name}}-${{ github.ref_name }}
10588 use_isolated_workspace : true
10689 env_vars : |
0 commit comments