Skip to content

Commit e856260

Browse files
deni-commitsclaude
andcommitted
feat: add GitHub Pages deployment with custom domain
- GitHub Actions workflow builds Vite app and deploys to Pages - CNAME file for form.ideenparc.net custom domain Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 68d5ec0 commit e856260

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: pages
14+
cancel-in-progress: true
15+
16+
jobs:
17+
build-and-deploy:
18+
runs-on: ubuntu-latest
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version: 22
28+
cache: npm
29+
cache-dependency-path: positionierungscheck/package-lock.json
30+
31+
- name: Install & Build
32+
working-directory: positionierungscheck
33+
run: |
34+
npm ci
35+
npm run build
36+
37+
- name: Setup Pages
38+
uses: actions/configure-pages@v5
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
with:
43+
path: positionierungscheck/dist
44+
45+
- name: Deploy to GitHub Pages
46+
id: deployment
47+
uses: actions/deploy-pages@v4

positionierungscheck/public/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
form.ideenparc.net

0 commit comments

Comments
 (0)