Skip to content

Commit 2243623

Browse files
committed
docs: update static
1 parent 4ea41d0 commit 2243623

File tree

4 files changed

+12
-27
lines changed

4 files changed

+12
-27
lines changed

.github/workflows/docs.yaml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Deploy static content to Pages
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: ["main"]
7+
branches: ["main", "develop"]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
@@ -31,31 +31,23 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Checkout
34-
uses: actions/checkout@v3
35-
- name: Install Node.js
36-
uses: actions/setup-node@v3
37-
with:
38-
node-version: 20
39-
- uses: pnpm/action-setup@v3
40-
with:
41-
version: 9
42-
run_install: true
43-
- name: Build packages before
44-
run: pnpm build
45-
- run: pnpm ember build --env=production
34+
uses: actions/checkout@v4
35+
- name: Pnpm install
36+
uses: wyvox/action-setup-pnpm@v3
37+
- run: pnpm turbo build
4638
working-directory: doc-app
4739
env:
4840
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
4941
- name: Setup Pages
50-
uses: actions/configure-pages@v3
42+
uses: actions/configure-pages@v5
5143
- name: Upload artifact
52-
uses: actions/upload-pages-artifact@v2
44+
uses: actions/upload-pages-artifact@v3
5345
with:
5446
# Upload entire repository
5547
path: 'doc-app/dist'
5648
- name: Deploy to GitHub Pages
5749
id: deployment
58-
uses: actions/deploy-pages@v2
50+
uses: actions/deploy-pages@v4
5951

6052

6153

doc-app/config/environment.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module.exports = function (environment) {
4141
}
4242

4343
if (environment === 'production') {
44+
ENV.rootURL = '/ember-common-ui/';
4445
// here you can enable a production-specific feature
4546
}
4647

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
"lefthook",
2020
"msw",
2121
"nx"
22-
],
23-
"patchedDependencies": {
24-
"@embroider/vite": "patches/@embroider__vite.patch"
25-
}
22+
]
2623
},
2724
"repository": {
2825
"url": "git@github.com:TRIPTYK/ember-common-ui.git"

pnpm-lock.yaml

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)