Skip to content

Commit

Permalink
Merge branch 'saadpasta:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha4041 authored Dec 2, 2023
2 parents e2b6969 + f16db7c commit 7170658
Show file tree
Hide file tree
Showing 6 changed files with 2,950 additions and 15,203 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
USE_GITHUB_DATA: "true"
MEDIUM_USERNAME: "saadpasta" # Change this to your medium username
on:
workflow_dispatch:
push:
branches:
- master
Expand All @@ -16,16 +17,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
uses: actions/checkout@v3 # If you're using actions/checkout@v3 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false

- name: Setup Node.js 🔧
uses: actions/setup-node@v3.8.1
with:
node-version: 18.x

- name: Update npm 🚀
run: npm install -g npm@latest

- name: Install and Build 🔧 # Build the Project
run: |
npm install
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # This is provided by GitHub.
BRANCH: gh-pages # The branch the action should deploy to.
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ jobs:
with:
persist-credentials: false

- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v3.8.1
with:
node-version: '12'

- name: Install Prettier
run: npm install -g prettier

node-version: 18.x

- name: Install 🔧 # Install dependencies
run: |
npm install
- name: Check Format
run: |
prettier -c "./**/*.{js,css,json}"
npm run check-format
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ For adding emoji 😃 into the texts in `Portfolio.js`, use the `emoji()` functi

#### Customize Lottie Animations

You can choose a Lottie and download it in json format from from sites like [this](https://lottiefiles.com/). In `src/assets/lottie`, replace the Lottie json file you want to alter with the same file name. If you want to change the Lottie options, go to `src/components/displayLottie/DisplayLottie.js` and change the `defaultOptions` object, you can refer [react-lottie docs](https://www.npmjs.com/package/react-lottie) for more info on the `defaultOptions` object.
You can choose a Lottie and download it in json format from from sites like [this](https://lottiefiles.com/). In `src/assets/lottie`, replace the Lottie json file you want to alter with the same file name. If you want to change the Lottie options, go to `src/components/displayLottie/DisplayLottie.js` and change the `defaultOptions` object, you can refer [lottie-react docs](https://www.npmjs.com/package/lottie-react) for more info on the `defaultOptions` object.

#### Adding Twitter Time line to your Page
Insert your Twitter username in `portfolio.js` to show your recent activity on your page.
Expand Down
Loading

0 comments on commit 7170658

Please sign in to comment.