File tree Expand file tree Collapse file tree 2 files changed +9
-16
lines changed
Expand file tree Collapse file tree 2 files changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: Deploy static content to Pages
44on :
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
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ module.exports = function (environment) {
4141 }
4242
4343 if ( environment === 'production' ) {
44+ ENV . APP . ROOT_URL = '/ember-common-ui/' ;
4445 // here you can enable a production-specific feature
4546 }
4647
You can’t perform that action at this time.
0 commit comments