-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from elidakirigo/main-cf-autofix
Main cf autofix
- Loading branch information
Showing
194 changed files
with
85 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Build NextApp Preview and Deploy | ||
|
||
on: | ||
push: | ||
branches-ignore: [main] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.19.0] | ||
# node-version: [20.x, 21.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: connecting to Server | ||
uses: appleboy/ssh-action@master | ||
env: | ||
FOO: 'BAR' | ||
BAR: 'FOO' | ||
SHA: ${{ github.sha }} | ||
with: | ||
host: ${{ secrets.DOGDB_HOST}} | ||
username: ${{ secrets.DOGDB_USERNAME }} | ||
port: ${{ secrets.DOGDB_PORT }} | ||
key: ${{ secrets.DOGDB_PRIVATE_SSHKEY }} | ||
source: '.' | ||
# source: '.,!node_modules' | ||
target: '~/var/www/' | ||
|
||
- name: Executing remote command | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.DOGDB_HOST}} | ||
username: ${{ secrets.DOGDB_USERNAME }} | ||
port: ${{ secrets.DOGDB_PORT }} | ||
key: ${{ secrets.DOGDB_PRIVATE_SSHKEY }} | ||
script: | | ||
cd ~ && cd /var/www/ | ||
if [ ! -d "${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}" -a ! -d "${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}-${{ github.ref_name }}" ]; then | ||
mkdir ${{ secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME }} && cd ${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}} && git clone -b ${{ github.ref_name }} https://github.com/dogdb-org/dogdb-frontend.git ${{ secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME }}-${{ github.ref_name }} && ${{ secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME }}-${{ github.ref_name }} && npm install && npm test && npm run build | ||
elif [ -d "${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}" -a ! -d "${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}/${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}-${{ github.ref_name }}" ]; then | ||
cd ${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}} && git clone -b ${{ github.ref_name }} https://github.com/dogdb-org/dogdb-frontend.git ${{ secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME }}-${{ github.ref_name }} && cd ${{ secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME }}-${{ github.ref_name }} && npm install && npm test && npm run build | ||
elif [ -d "${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}" -a -d "${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}/${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}-${{ github.ref_name }}" ]; then | ||
cd ${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}/${{secrets.DOGDB_PREVIEW_FRONTEND_FOLDER_NAME}}-${{ github.ref_name }} && git pull && npm install && npm test && npm run build | ||
fi |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
46 changes: 23 additions & 23 deletions
46
...ind-css-typescript)/components/Header.tsx → ...ind-css-typescript)/components/Header.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import React from 'react' | ||
import { SocialIcon } from 'react-social-icons' | ||
type Props = {} | ||
|
||
function Header({}: Props) { | ||
return ( | ||
<header className='sticky top-0 flex-items-start justify-between max-w-7xl mx-auto z-20'> | ||
<div className='flex flex-row items-center'> | ||
|
||
{/* Social Icons */} | ||
<SocialIcon url='https://youtube.com/sonnysangha' fgColor='gray' bgColor='transparent' /> | ||
<SocialIcon url='https://youtube.com/sonnysangha' fgColor='gray' bgColor='transparent' /> | ||
<SocialIcon url='https://youtube.com/sonnysangha' fgColor='gray' bgColor='transparent' /> | ||
</div> | ||
|
||
<div className='flex flex-row items-center text-gray-300 cursor-pointer'> | ||
<SocialIcon url='https://youtube.com/sonnysangha' className='cursor-pointer' network='email' fgColor='gray' bgColor='transparent' /> | ||
<p className='uppercase hidden md:inline-flex text-sm text-gray-400'>Get In Touch</p> | ||
</div> | ||
</header> | ||
) | ||
} | ||
export default Header | ||
import React from 'react' | ||
import { SocialIcon } from 'react-social-icons' | ||
type Props = {} | ||
|
||
function Header({}: Props) { | ||
return ( | ||
<header className='sticky top-0 flex-items-start justify-between max-w-7xl mx-auto z-20'> | ||
<div className='flex flex-row items-center'> | ||
|
||
{/* Social Icons */} | ||
<SocialIcon url='https://youtube.com/sonnysangha' fgColor='gray' bgColor='transparent' /> | ||
<SocialIcon url='https://youtube.com/sonnysangha' fgColor='gray' bgColor='transparent' /> | ||
<SocialIcon url='https://youtube.com/sonnysangha' fgColor='gray' bgColor='transparent' /> | ||
</div> | ||
|
||
<div className='flex flex-row items-center text-gray-300 cursor-pointer'> | ||
<SocialIcon url='https://youtube.com/sonnysangha' className='cursor-pointer' network='email' fgColor='gray' bgColor='transparent' /> | ||
<p className='uppercase hidden md:inline-flex text-sm text-gray-400'>Get In Touch</p> | ||
</div> | ||
</header> | ||
) | ||
} | ||
export default Header |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters