Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Correct-Syntax committed Jan 29, 2025
2 parents d1dcc46 + bf08255 commit 18cfbf9
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 82 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

on:
push:
branches:
- master

name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4

- name: Use Node.js 22
uses: actions/setup-node@v2
with:
node-version: '22'

- name: 🔨 Build Project
run: |
npm install
npm run build
- name: 📂 Push files to branch
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: deploy
FOLDER: out
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Build ({sha}) {msg}"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# next.js
/.next/
/out/
/out

# production
/build
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Launch the latest build of [Reference8](https://reference8.com) in your browser.

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


## Installing

```bash
Expand Down
140 changes: 63 additions & 77 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"dependencies": {
"@img-comparison-slider/react": "^8.0.2",
"@radix-ui/react-icons": "^1.3.2",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106"
"next": "15.1.2",
"react": "19.0.0",
"react-dom": "19.0.0"
},
"devDependencies": {
"eslint": "^8",
Expand Down

0 comments on commit 18cfbf9

Please sign in to comment.