Skip to content

Commit 31f11f1

Browse files
committed
Deploy landing/ to GitHub Pages on scikit-learner.app
Adds a Pages workflow that publishes landing/ as the site artifact and a CNAME so the apex domain serves it.
1 parent 831ca7b commit 31f11f1

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Deploy landing to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'landing/**'
8+
- '.github/workflows/pages.yml'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: pages
18+
cancel-in-progress: false
19+
20+
jobs:
21+
deploy:
22+
environment:
23+
name: github-pages
24+
url: ${{ steps.deployment.outputs.page_url }}
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: actions/configure-pages@v5
29+
- uses: actions/upload-pages-artifact@v3
30+
with:
31+
path: ./landing
32+
- id: deployment
33+
uses: actions/deploy-pages@v4

landing/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
scikit-learner.app

0 commit comments

Comments
 (0)