Skip to content

Commit

Permalink
Merge pull request #8 from elidakirigo/main-cf-autofix
Browse files Browse the repository at this point in the history
Main cf autofix
  • Loading branch information
elidakirigo authored Aug 28, 2024
2 parents e80281d + 1053f72 commit 7417e22
Show file tree
Hide file tree
Showing 194 changed files with 85 additions and 24 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/statusBadge.yaml
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.
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.
12 changes: 11 additions & 1 deletion free links/.env
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,14 @@ https://www.pinata.cloud/

https://pieces.app/

code -r [folder-name]
code -r [folder-name]

https://www.pexels.com/

https://www.iconfinder.com/search?price=free

https://unsplash.com/

https://www.freepik.com/

https://pixelied.com/convert

0 comments on commit 7417e22

Please sign in to comment.