Merge branch 'main' into feat/docker

This commit is contained in:
Saahil dutta 2024-09-06 22:40:52 -04:00 committed by GitHub
commit e9b39d9f62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 63 additions and 38 deletions

View file

@ -1,30 +1,39 @@
name: remote ssh command name: Remote Deploy
on: [push]
on:
push:
branches:
- main
paths:
# on code related change
- ".github/workflows/deploy.yml"
- "src/**"
- "public/**"
workflow_dispatch:
jobs: jobs:
build: build:
name: Build & deploy name: Build & deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: production environment: production
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set Short SHA - name: Set Short SHA
id: short_sha id: short_sha
run: | run: |
echo $(pwd) echo $(pwd)
echo $(ls) echo $(ls)
echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: executing remote ssh commands using password - name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.8 uses: appleboy/ssh-action@v0.1.8
with: with:
context: . context: .
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }} port: ${{ secrets.PORT }}
script: | script: |
cd /${{ secrets.USERNAME }} cd /${{ secrets.USERNAME }}
export REACT_APP_BUILD_SHA=${{ steps.short_sha.outputs.short_sha }} export REACT_APP_BUILD_SHA=${{ steps.short_sha.outputs.short_sha }}
export REACT_APP_BUILD_ID=${{ github.run_id }} export REACT_APP_BUILD_ID=${{ github.run_id }}

3
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,3 @@
## Contributing
Follow [default](https://github.com/NeonGamerBot-QK/.github/CONTRIBUTING.md) here.

View file

@ -46,25 +46,38 @@ Some info about <span className='text-highlight'>me</span>
{/* <li className="about-activity"> {/* <li className="about-activity">
<ImPointRight className="inline-block"/> Traveling <ImPointRight className="inline-block"/> Traveling
</li> */} </li> */}
<li className='about-activity'> <li className="about-activity">
<Icon path={mdiBullet} className='inline-block' size={1} /> Swimming <Icon path={mdiBullet} className="inline-block" size={1} />{" "}
</li> Swimming
</ul> </li>
</ul>
<blockquote className='ml-10 text-xl italic font-semibold text-gray-900 dark:text-white' style={{ color: 'var(--text)'}}> <blockquote
<svg className='w-8 h-8 mb-4 text-gray-400 dark:text-gray-600' xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 18 14'> className="ml-10 text-xl italic font-semibold text-gray-900 dark:text-white"
<path d='M6 0H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3H2a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Zm10 0h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3h-1a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Z' /> style={{ color: "var(--text)" }}
</svg> >
<p className='ml-5 duration-700 ease-linear hover:text-fuchsia-600 text-fuchsia-500 first-letter:font-2xl'> <svg
"It has become appallingly obvious that our technology has exceeded className="w-8 h-8 mb-4 text-gray-400 dark:text-gray-600"
our humanity."{' '} xmlns="http://www.w3.org/2000/svg"
</p> fill="currentColor"
<footer className='ml-8 blockquote-footer ' style={{ color: 'var(--subtext0)'}}> viewBox="0 0 18 14"
- Albert Einstein >
</footer> <path d="M6 0H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3H2a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Zm10 0h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3h-1a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Z" />
</svg>
<p className="ml-5 duration-700 ease-linear hover:text-fuchsia-600 text-fuchsia-500 first-letter:font-2xl">
"It has become appallingly obvious that our technology has
exceeded our humanity."{" "}
</p>
<footer
className="ml-8 blockquote-footer "
style={{ color: "var(--subtext0)" }}
>
- Albert Einstein
</footer>
</blockquote>
</blockquote> </blockquote>
</blockquote> </div>
</div> </div>
</div> </div>
</div> );
} }