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
-
name: Deploy to GitHub Pages
2
-
3
-
on:
4
-
push:
5
-
branches:
6
-
- main
7
-
workflow_dispatch:
8
-
9
-
jobs:
10
-
build_site:
11
-
runs-on: ubuntu-latest
12
-
steps:
13
-
- name: Checkout
14
-
uses: actions/checkout@v4
15
-
16
-
- uses: pnpm/action-setup@v4
17
-
with:
18
-
version: 8.15.6
19
-
20
-
- name: Setup Node.js environment
21
-
uses: actions/setup-node@v4
22
-
with:
23
-
node-version: 20
24
-
cache: 'pnpm'
25
-
26
-
- name: Install dependencies
27
-
run: pnpm install
28
-
29
-
- name: build
30
-
env:
31
-
BASE_PATH: '/${{ github.event.repository.name }}'
32
-
PUBLIC_HANDLE: 'flo-bit.dev'
33
-
run: |
34
-
pnpm run build
35
-
36
-
- name: Upload Artifacts
37
-
uses: actions/upload-pages-artifact@v3
38
-
with:
39
-
path: 'build/'
40
-
41
-
deploy:
42
-
needs: build_site
43
-
runs-on: ubuntu-latest
44
-
45
-
permissions:
46
-
pages: write
47
-
id-token: write
48
-
49
-
environment:
50
-
name: github-pages
51
-
url: ${{ steps.deployment.outputs.page_url }}
52
-
53
-
steps:
54
-
- name: Deploy
55
-
id: deployment
56
-
uses: actions/deploy-pages@v4
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0