Skip to content

Commit 1bdf456

Browse files
committed
ci(github): test just building on GH
1 parent 0315573 commit 1bdf456

1 file changed

Lines changed: 22 additions & 21 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy site to Pages
33
on:
44
# Runs on pushes targeting the default branch
55
push:
6-
branches: ["main"]
6+
branches: ['main']
77

88
# Allows you to run this workflow manually from the Actions tab
99
workflow_dispatch:
@@ -17,7 +17,7 @@ permissions:
1717
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1818
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1919
concurrency:
20-
group: "pages"
20+
group: 'pages'
2121
cancel-in-progress: false
2222

2323
# Default to bash
@@ -36,26 +36,27 @@ jobs:
3636
uses: actions/checkout@v3
3737
with:
3838
submodules: recursive
39-
- name: Setup Pages
40-
id: pages
41-
uses: actions/configure-pages@v3
39+
# - name: Setup Pages
40+
# id: pages
41+
# uses: actions/configure-pages@v3
4242
- name: Install Node.js dependencies
43-
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
43+
run: '[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true'
4444
- name: Build with Eleventy
45-
run: npm run build -- --pathprefix="${{ steps.pages.outputs.base_url }}/"
46-
- name: Upload artifact
47-
uses: actions/upload-pages-artifact@v1
48-
with:
49-
path: ./_site
45+
# run: npm run build -- --pathprefix="${{ steps.pages.outputs.base_url }}/"
46+
run: npm run build -- --pathprefix="/bugs.jquery.com/"
47+
# - name: Upload artifact
48+
# uses: actions/upload-pages-artifact@v1
49+
# with:
50+
# path: ./_site
5051

5152
# Deployment job
52-
deploy:
53-
environment:
54-
name: github-pages
55-
url: ${{ steps.deployment.outputs.page_url }}
56-
runs-on: ubuntu-latest
57-
needs: build
58-
steps:
59-
- name: Deploy to GitHub Pages
60-
id: deployment
61-
uses: actions/deploy-pages@v2
53+
# deploy:
54+
# environment:
55+
# name: github-pages
56+
# url: ${{ steps.deployment.outputs.page_url }}
57+
# runs-on: ubuntu-latest
58+
# needs: build
59+
# steps:
60+
# - name: Deploy to GitHub Pages
61+
# id: deployment
62+
# uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)