-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (26 loc) · 920 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
on:
workflow_dispatch:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: corepack enable
- run: yarn --pure=lockfile
- uses: actions/checkout@v4
with:
repository: henrycatalinismith/henrycatalinismith.github.io
sparse-checkout: tailbone
path: _site
- run: yarn build
- uses: peaceiris/actions-gh-pages@v3
with:
exclude_assets: ".github,.gitignore,.npmrc,Assets.xcassets,Info.plist,Launch Screen.storyboard,Preview Assets.xcassets,Tailbone.xcodeproj,TailboneApp.swift,_headers,manifest.webmanifest,media,netlify.toml,node_modules,package.json,readme.md,yarn.lock"
force_orphan: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./_site