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
22
33on :
44 # Runs on pushes targeting the default branch
@@ -34,30 +34,30 @@ jobs:
3434 uses : actions/checkout@v3
3535 with :
3636 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
4040 - name : Install Node.js dependencies
4141 run : npm ci
4242 - name : Build with Eleventy
4343 env :
4444 NODE_ENV : production
4545 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
5252
5353 # 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