-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 987 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
on:
push:
branches: [ main ]
paths: [ 'solid-start/**', '.github/**' ]
pull_request:
branches: [ main ]
paths: [ 'solid-start/**', '.github/**' ]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./solid-start
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
name: install
with:
version: 8
run_install: |
- recursive: true
args: [--strict-peer-dependencies]
- args: [--global, typescript]
- name: build
run: pnpm build
env:
BASE_PATH: /portfolio
- name: create .nojekyll
run: |
touch .output/public/.nojekyll
- name: deploy pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages
folder: ./solid-start/.output/public