Skip to content

Commit bdabe81

Browse files
babayomiclaude
andcommitted
Simplify GitHub Actions: Use gh-pages package for deployment
- Switch to simpler gh-pages deployment method - Remove complex GitHub Pages actions configuration - Uses npm run deploy command with gh-pages package - Should resolve deployment issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent bb4d220 commit bdabe81

1 file changed

Lines changed: 5 additions & 20 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,10 @@ on:
66
workflow_dispatch:
77

88
permissions:
9-
contents: read
10-
pages: write
11-
id-token: write
12-
13-
concurrency:
14-
group: "pages"
15-
cancel-in-progress: false
9+
contents: write
1610

1711
jobs:
1812
deploy:
19-
environment:
20-
name: github-pages
21-
url: ${{ steps.deployment.outputs.page_url }}
2213
runs-on: ubuntu-latest
2314
steps:
2415
- name: Checkout
@@ -35,14 +26,8 @@ jobs:
3526
- name: Build CSS
3627
run: npm run build
3728

38-
- name: Setup Pages
39-
uses: actions/configure-pages@v4
40-
41-
- name: Upload artifact
42-
uses: actions/upload-pages-artifact@v3
43-
with:
44-
path: './src'
45-
4629
- name: Deploy to GitHub Pages
47-
id: deployment
48-
uses: actions/deploy-pages@v4
30+
run: |
31+
git config --global user.name "GitHub Actions"
32+
git config --global user.email "actions@github.com"
33+
npm run deploy

0 commit comments

Comments
 (0)