Skip to content

Commit

Permalink
Merge pull request #1 from amine250/develop
Browse files Browse the repository at this point in the history
Setup github actions
  • Loading branch information
amine250 authored Oct 25, 2024
2 parents dc15bfd + 802a966 commit 6c9e26b
Show file tree
Hide file tree
Showing 6 changed files with 17,925 additions and 3 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy React App

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: npm install

- name: Build the project
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
A repo to host personal cheat sheet page

```
npm install fuse.js lucide-react
npm install framer-motion
```
npm install fuse.js lucide-react framer-motion
```
Loading

0 comments on commit 6c9e26b

Please sign in to comment.