Compare commits
No commits in common. "43ea42397fe09624beb5d0f20be19a43100a0396" and "d8c20826b01d117afbadb04ab78313135300549c" have entirely different histories.
43ea42397f
...
d8c20826b0
54
.drone.yml
54
.drone.yml
@ -40,30 +40,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- name: Build and Push (PR) Container Image
|
- name: Build and Push Container Image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- feature/*
|
|
||||||
pull_request:
|
|
||||||
types: [opened, updated]
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: DOCKER_USERNAME
|
|
||||||
password:
|
|
||||||
from_secret: DOCKER_PASSWORD
|
|
||||||
repo: gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio
|
|
||||||
registry: gitea.bsidesolutions.net
|
|
||||||
dockerfile: ./Dockerfile
|
|
||||||
force_tag: true
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
- pr-build-${DRONE_COMMIT_SHA:0:10}
|
|
||||||
- name: Build and Push (Staging) Container Image
|
|
||||||
image: plugins/docker
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- develop
|
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: DOCKER_USERNAME
|
||||||
@ -76,34 +54,8 @@ steps:
|
|||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- dev
|
- dev
|
||||||
- dev-${DRONE_COMMIT_SHA:0:10}
|
- dev-build-${DRONE_COMMIT_SHA:0:7}
|
||||||
- name: Build and Push (Production) Container Image
|
|
||||||
image: plugins/docker
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: DOCKER_USERNAME
|
|
||||||
password:
|
|
||||||
from_secret: DOCKER_PASSWORD
|
|
||||||
repo: gitea.bsidesolutions.net/oonyeje/oonyeje-portfolio
|
|
||||||
registry: gitea.bsidesolutions.net
|
|
||||||
dockerfile: ./Dockerfile
|
|
||||||
force_tag: true
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
- release
|
|
||||||
- release-${DRONE_COMMIT_SHA:0:10}
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
- develop
|
|
||||||
- feature/*
|
|
||||||
event:
|
|
||||||
include:
|
|
||||||
- pull_request
|
|
||||||
- push
|
|
||||||
|
|
||||||
# - name: deploy-staging
|
# - name: deploy-staging
|
||||||
# image: plugins/ansible:latest
|
# image: plugins/ansible:latest
|
||||||
|
|||||||
@ -24,6 +24,10 @@ jobs:
|
|||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# - name: Login to Gitea
|
||||||
|
# run: |
|
||||||
|
# echo "${{ secrets.TOKEN }}" | docker login ${{ gitea.server_url }} --username ${{ gitea.actor }} --password-stdin
|
||||||
|
|
||||||
- name: Deploy to Coolify
|
- name: Deploy to Coolify
|
||||||
uses: carlozanella/deploy-coolify@v1
|
uses: carlozanella/deploy-coolify@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -1,16 +0,0 @@
|
|||||||
const GoogleAppointmentBlock = () => {
|
|
||||||
const {GOOGLE_APPOINTMENTS_LINK} = process.env;
|
|
||||||
console.log(GOOGLE_APPOINTMENTS_LINK)
|
|
||||||
return (
|
|
||||||
<div className='w-full h-full flex flex-row justify-center bg-white border-solid'>
|
|
||||||
<embed
|
|
||||||
src={GOOGLE_APPOINTMENTS_LINK!}
|
|
||||||
style={{border: 1}}
|
|
||||||
width="100%"
|
|
||||||
height="600"
|
|
||||||
></embed>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export default GoogleAppointmentBlock;
|
|
||||||
@ -8,7 +8,6 @@ import navigationContent from '../lib/navigationContent'
|
|||||||
import ContactForm from '@/components/form/ContactForm';
|
import ContactForm from '@/components/form/ContactForm';
|
||||||
import Footer from '@/components/footer';
|
import Footer from '@/components/footer';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import GoogleAppointmentBlock from '@/components/form/GoogleAppointmentBlock';
|
|
||||||
const inter = Inter({ subsets: ['latin'] })
|
const inter = Inter({ subsets: ['latin'] })
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
@ -120,7 +119,6 @@ export default function Home() {
|
|||||||
<div className='flex flex-row h-full w-full justify-center'>
|
<div className='flex flex-row h-full w-full justify-center'>
|
||||||
<div className='flex flex-col h-full w-full justify-center'>
|
<div className='flex flex-col h-full w-full justify-center'>
|
||||||
<ContactForm/>
|
<ContactForm/>
|
||||||
{/* <GoogleAppointmentBlock/> */}
|
|
||||||
</div>
|
</div>
|
||||||
<span className="cursor-pointer self-end" onClick={() => {
|
<span className="cursor-pointer self-end" onClick={() => {
|
||||||
executeScrollToLandiing();
|
executeScrollToLandiing();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user