Skip to content

Commit 2fb2a8d

Browse files
authored
Merge pull request #35 from chinmina/no-more-pages
Remove GitHub Pages deployment
2 parents ba09a3c + e2a0f4a commit 2fb2a8d

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
name: Deploy to GitHub Pages
1+
name: Deploy
22

33
on:
44
push:
55
branches: [main]
66
pull_request:
77
workflow_dispatch:
88

9-
# Allow this job to clone the repo and create a page deployment
109
permissions:
1110
contents: read
12-
pages: write
1311
id-token: write
1412
deployments: write
1513
pull-requests: write
@@ -33,10 +31,6 @@ jobs:
3331
run: pnpm install
3432
- name: Build site
3533
run: pnpm run build
36-
- name: Upload GitHub Pages artifact
37-
uses: actions/upload-pages-artifact@v4
38-
with:
39-
path: dist/
4034
- name: Upload dist artifact
4135
uses: actions/upload-artifact@v7
4236
with:
@@ -99,14 +93,3 @@ jobs:
9993
PR_NUMBER: ${{ github.event.pull_request.number }}
10094
run: .github/scripts/cloudflare-deploy.sh comment
10195

102-
deploy:
103-
needs: build
104-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
105-
runs-on: ubuntu-latest
106-
environment:
107-
name: github-pages
108-
url: ${{ steps.deployment.outputs.page_url }}
109-
steps:
110-
- name: Deploy to GitHub Pages
111-
id: deployment
112-
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)