File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy site to Pages
1
+ name : Deploy site
2
2
3
3
on :
4
4
# Runs on pushes targeting the default branch
@@ -34,30 +34,30 @@ jobs:
34
34
uses : actions/checkout@v3
35
35
with :
36
36
submodules : recursive
37
- # - name: Setup Pages
38
- # id: pages
39
- # uses: actions/configure-pages@v3
37
+ - name : Setup Pages
38
+ id : pages
39
+ uses : actions/configure-pages@v3
40
40
- name : Install Node.js dependencies
41
41
run : npm ci
42
42
- name : Build with Eleventy
43
43
env :
44
44
NODE_ENV : production
45
45
NODE_OPTIONS : ' --max_old_space_size=4096'
46
- # run: npm run build -- --pathprefix="${{ steps.pages.outputs.base_url }}/"
47
- run : npm run build -- --pathprefix="/bugs.jqueryui.com/"
48
- # - name: Upload artifact
49
- # uses: actions/upload-pages-artifact@v1
50
- # with:
51
- # path: ./_site
46
+ run : npm run build -- --pathprefix="${{ steps.pages.outputs.base_url }}/"
47
+ # run: npm run build -- --pathprefix="/bugs.jqueryui.com/"
48
+ - name : Upload artifact
49
+ uses : actions/upload-pages-artifact@v1
50
+ with :
51
+ path : ./_site
52
52
53
53
# Deployment job
54
- # deploy:
55
- # environment:
56
- # name: github-pages
57
- # url: ${{ steps.deployment.outputs.page_url }}
58
- # runs-on: ubuntu-latest
59
- # needs: build
60
- # steps:
61
- # - name: Deploy to GitHub Pages
62
- # id: deployment
63
- # uses: actions/deploy-pages@v2
54
+ deploy :
55
+ environment :
56
+ name : github-pages
57
+ url : ${{ steps.deployment.outputs.page_url }}
58
+ runs-on : ubuntu-latest
59
+ needs : build
60
+ steps :
61
+ - name : Deploy to GitHub Pages
62
+ id : deployment
63
+ uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments