tangled
alpha
login
or
join now
flo-bit.dev
/
blento
your personal website on atproto - mirror
blento.app
20
fork
atom
overview
issues
pulls
pipelines
delete actions
Florian
1 month ago
10132991
07f5d93a
-56
1 changed file
expand all
collapse all
unified
split
.github
workflows
deploy.yml
-56
.github/workflows/deploy.yml
···
1
1
-
name: Deploy to GitHub Pages
2
2
-
3
3
-
on:
4
4
-
push:
5
5
-
branches:
6
6
-
- main
7
7
-
workflow_dispatch:
8
8
-
9
9
-
jobs:
10
10
-
build_site:
11
11
-
runs-on: ubuntu-latest
12
12
-
steps:
13
13
-
- name: Checkout
14
14
-
uses: actions/checkout@v4
15
15
-
16
16
-
- uses: pnpm/action-setup@v4
17
17
-
with:
18
18
-
version: 8.15.6
19
19
-
20
20
-
- name: Setup Node.js environment
21
21
-
uses: actions/setup-node@v4
22
22
-
with:
23
23
-
node-version: 20
24
24
-
cache: 'pnpm'
25
25
-
26
26
-
- name: Install dependencies
27
27
-
run: pnpm install
28
28
-
29
29
-
- name: build
30
30
-
env:
31
31
-
BASE_PATH: '/${{ github.event.repository.name }}'
32
32
-
PUBLIC_HANDLE: 'flo-bit.dev'
33
33
-
run: |
34
34
-
pnpm run build
35
35
-
36
36
-
- name: Upload Artifacts
37
37
-
uses: actions/upload-pages-artifact@v3
38
38
-
with:
39
39
-
path: 'build/'
40
40
-
41
41
-
deploy:
42
42
-
needs: build_site
43
43
-
runs-on: ubuntu-latest
44
44
-
45
45
-
permissions:
46
46
-
pages: write
47
47
-
id-token: write
48
48
-
49
49
-
environment:
50
50
-
name: github-pages
51
51
-
url: ${{ steps.deployment.outputs.page_url }}
52
52
-
53
53
-
steps:
54
54
-
- name: Deploy
55
55
-
id: deployment
56
56
-
uses: actions/deploy-pages@v4