-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Quentin Guidée <[email protected]>
- Loading branch information
1 parent
14412e9
commit cefbcad
Showing
4 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
21 changes: 15 additions & 6 deletions
21
docs/.github/workflows/deploy.yml → .github/workflows/docs.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,39 @@ | ||
name: Deploy to Firebase Hosting | ||
name: Docs | ||
|
||
on: [ workflow_dispatch ] | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- '.github/workflows/docs.yml' | ||
- 'docs/**' | ||
|
||
jobs: | ||
build_and_deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Enable corepack | ||
run: corepack enable | ||
|
||
- name: Install | ||
run: npm ci | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Install Playwright | ||
run: npx [email protected] install --with-deps | ||
|
||
- name: Download OpenAPI specs | ||
run: ./scripts/download-openapi-specs.sh | ||
run: ./docs/scripts/download-openapi-specs.sh | ||
|
||
- name: Build | ||
run: npm run build | ||
run: yarn workspace @vertex-center/docs build | ||
|
||
- uses: FirebaseExtended/action-hosting-deploy@v0 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters