Skip to content

Commit 59cf317

Browse files
authored
Merge pull request #3 from SlashOS/main
Bringup
2 parents 4367934 + 40acd2f commit 59cf317

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy PR previews
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
- closed
10+
11+
concurrency: preview-${{ github.ref }}
12+
13+
jobs:
14+
deploy-preview:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v6
19+
20+
- name: Deploy preview
21+
uses: rossjrw/pr-preview-action@v1
22+
with:
23+
source-dir: .

.github/workflows/static.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v6
11+
- uses: JamesIves/github-pages-deploy-action@v4
12+
with:
13+
folder: .
14+
branch: gh-pages
15+
clean-exclude: pr-preview
16+
force: false

0 commit comments

Comments
 (0)