Skip to content

Commit

Permalink
fix: lets see
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsc0301 committed Jun 30, 2023
1 parent 78cb6b8 commit d1f9be8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches:
- main

permissions:
contents: write

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand All @@ -30,15 +33,14 @@ jobs:

# Runs a single command using the runners shell
- name: Build the project
run: npm install && npm run build
run: npm ci && npm run build

deploy:
needs: build
runs-on: ubuntu-latest

steps:
- name: Deploy to GH Pages 🚀
uses: peaceiris/actions-gh-pages@v3
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
folder: dist
7 changes: 5 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"engines": {
"node": ">=20.3.1"
"node": ">=18.16.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d1f9be8

Please sign in to comment.