Skip to content

Commit 18cfbf9

Browse files
Merge remote-tracking branch 'origin/master'
2 parents d1dcc46 + bf08255 commit 18cfbf9

File tree

5 files changed

+102
-82
lines changed

5 files changed

+102
-82
lines changed

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
name: 🚀 Deploy website on push
8+
jobs:
9+
web-deploy:
10+
name: 🎉 Deploy
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- name: 🚚 Get latest code
16+
uses: actions/checkout@v4
17+
18+
- name: Use Node.js 22
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: '22'
22+
23+
- name: 🔨 Build Project
24+
run: |
25+
npm install
26+
npm run build
27+
28+
- name: 📂 Push files to branch
29+
uses: s0/git-publish-subdir-action@develop
30+
env:
31+
REPO: self
32+
BRANCH: deploy
33+
FOLDER: out
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
MESSAGE: "Build ({sha}) {msg}"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# next.js
1717
/.next/
18-
/out/
18+
/out
1919

2020
# production
2121
/build

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Launch the latest build of [Reference8](https://reference8.com) in your browser.
1414

1515
If you'd like to help out, please take a look at the Contributing section below.
1616

17-
1817
## Installing
1918

2019
```bash

package-lock.json

Lines changed: 63 additions & 77 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"dependencies": {
1212
"@img-comparison-slider/react": "^8.0.2",
1313
"@radix-ui/react-icons": "^1.3.2",
14-
"next": "15.0.3",
15-
"react": "19.0.0-rc-66855b96-20241106",
16-
"react-dom": "19.0.0-rc-66855b96-20241106"
14+
"next": "15.1.2",
15+
"react": "19.0.0",
16+
"react-dom": "19.0.0"
1717
},
1818
"devDependencies": {
1919
"eslint": "^8",

0 commit comments

Comments
 (0)