Skip to content

Commit de64c95

Browse files
authored
docs: update files
1 parent 352dbee commit de64c95

49 files changed

Lines changed: 3790 additions & 2207 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
name: Deploy
1+
name: CI
22

33
on:
44
push:
55
branches:
66
- main
77
- master
8+
pull_request:
89
workflow_dispatch:
910

1011
permissions:
1112
contents: read
1213
pages: write
1314
id-token: write
1415

15-
concurrency:
16-
group: pages
17-
cancel-in-progress: true
18-
1916
jobs:
20-
build:
17+
check:
2118
runs-on: ubuntu-latest
2219
steps:
2320
- name: Checkout
@@ -30,6 +27,7 @@ jobs:
3027
cache: npm
3128

3229
- name: Setup Pages
30+
if: github.event_name != 'pull_request'
3331
uses: actions/configure-pages@v5
3432

3533
- name: Install dependencies
@@ -38,14 +36,24 @@ jobs:
3836
- name: Build site
3937
run: ASTRO_TELEMETRY_DISABLED=1 npm run build
4038

41-
- name: Upload Pages artifact
39+
- name: Upload build artifact
40+
if: github.event_name != 'pull_request'
4241
uses: actions/upload-pages-artifact@v3
4342
with:
4443
path: ./dist
4544

4645
deploy:
47-
needs: build
46+
if: github.event_name != 'pull_request'
47+
needs: check
4848
runs-on: ubuntu-latest
49+
permissions:
50+
contents: read
51+
pages: write
52+
id-token: write
53+
concurrency:
54+
group: pages
55+
cancel-in-progress: true
56+
4957
environment:
5058
name: github-pages
5159
url: ${{ steps.deployment.outputs.page_url }}

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
.DS_Store
22

33
**/*/.DS_Store
4-
docs/.DS_Store
4+
docs/.DS_Store
5+
node_modules/
6+
dist/
7+
.astro/
8+
.env
9+
.env.*
10+
npm-debug.log*

0 commit comments

Comments
 (0)