File tree 2 files changed +14
-7
lines changed
packages/internarbeidsflate-decorator-v3
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,20 @@ concurrency:
8
8
group : gh-pages-dev
9
9
cancel-in-progress : true
10
10
11
+ permissions :
12
+ contents : read
13
+ pages : write
14
+ id-token : write
11
15
12
16
jobs :
13
17
gh-pages :
14
- permissions :
15
- contents : write
16
18
runs-on : ubuntu-latest
17
19
name : Deploy preview to gh-pages
20
+ environment :
21
+ name : github-pages
22
+ url : ${{ steps.deployment.outputs.page_url }}
18
23
steps :
19
- - uses : actions/checkout@v3
24
+ - uses : actions/checkout@v4
20
25
- uses : oven-sh/setup-bun@v1
21
26
22
27
- run : bun install
26
31
working-directory : ' ./packages/internarbeidsflate-decorator-v3'
27
32
run : bun run build:preview
28
33
29
- - name : Deploy
30
- uses : peaceiris/ actions-gh- pages@v4
34
+ - uses : actions/configure-pages@v4
35
+ - uses : actions/upload- pages-artifact@v3
31
36
with :
32
- github_token : ${{ secrets.GITHUB_TOKEN }}
33
- publish_dir : ./packages/internarbeidsflate-decorator-v3/dist
37
+ path : ./packages/internarbeidsflate-decorator-v3/dist
38
+ - uses : actions/deploy-pages@v4
39
+ id : deployment
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react';
3
3
4
4
export default defineConfig ( {
5
5
plugins : [ react ( ) ] ,
6
+ base : '/internarbeidsflatedecorator/' ,
6
7
build : {
7
8
cssMinify : true ,
8
9
minify : true ,
You can’t perform that action at this time.
0 commit comments