File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ concurrency :
13+ group : pages
14+ cancel-in-progress : false
15+
716jobs :
8- deploy :
17+ build :
918 runs-on : ubuntu-latest
1019 steps :
1120 - uses : actions/checkout@v4
@@ -15,17 +24,16 @@ jobs:
1524 cache : npm
1625 - run : npm ci
1726 - run : npx vitepress build
18- - name : Generate app token
19- id : app-token
20- uses : actions/create-github-app-token@v1
21- with :
22- app-id : ${{ secrets.APP_ID }}
23- private-key : ${{ secrets.APP_PRIVATE_KEY }}
24- owner : BristolMyersSquibb
25- repositories : blockr
26- - uses : JamesIves/github-pages-deploy-action@v4
27+ - uses : actions/upload-pages-artifact@v3
2728 with :
28- repository-name : BristolMyersSquibb/blockr
29- branch : gh-pages
30- folder : .vitepress/dist
31- token : ${{ steps.app-token.outputs.token }}
29+ path : .vitepress/dist
30+
31+ deploy :
32+ needs : build
33+ runs-on : ubuntu-latest
34+ environment :
35+ name : github-pages
36+ url : ${{ steps.deployment.outputs.page_url }}
37+ steps :
38+ - id : deployment
39+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1- const base = '/blockr/ '
1+ const base = '/'
22
33module . exports = {
44 base,
You can’t perform that action at this time.
0 commit comments