Skip to content

Commit

Permalink
Merge pull request #11 from kovarike/website-feature
Browse files Browse the repository at this point in the history
Website feature
  • Loading branch information
kovarike authored Sep 10, 2024
2 parents 19f90da + c111ed0 commit d1cafc0
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 123 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ jobs:
- name: Install Vercel CLI
run: npm install -g vercel

- name: 📤 Pull Vercel Environment Information
- name: Pull Vercel Environment Information
run: |
vercel env pull .env --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: 🏗 Build Project Artifacts
- name: Deploy to Vercel
id: deploy
run: |
vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }} --confirm --output=deploy.json
- name: Deploy Project Artifacts to Vercel
- name: Set Alias
run: |
vercel deploy --prebuilt --prod --archive=tgz --token=${{ secrets.VERCEL_TOKEN }} > domain.txt
vercel alias --token=${{ secrets.VERCEL_TOKEN }} set `cat domain.txt` algorithmss.com.br
DEPLOY_URL=$(jq -r '.url' deploy.json)
vercel alias --token=${{ secrets.VERCEL_TOKEN }} set $DEPLOY_URL algorithmss.com.br
3 changes: 2 additions & 1 deletion .github/workflows/preview-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- name: Build the project
run: |
npm run build
vercel build # Adiciona o comando de construção prebuilt
- name: Install Vercel CLI
run: npm install -g vercel
Expand All @@ -37,6 +38,6 @@ jobs:

- name: Deploy to Vercel
run: |
vercel --token ${{ secrets.VERCEL_TOKEN }} --prebuilt --archive=tgz
vercel --token ${{ secrets.VERCEL_TOKEN }} --prebuilt
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
32 changes: 0 additions & 32 deletions .json

This file was deleted.

6 changes: 3 additions & 3 deletions apps/algorithms/src/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ export default async function Profile() {
<div
className="flex items-center border-b border-slate-500 py-1"
>
<Avatar alt="Danilo" border size="large" src={profile.src} />
<Avatar alt="Danilo" border size="Xlarge" src={profile.src} />
<div className="text-center mx-auto space-y-4 max-w-auto w-auto">
<h2 className="text-4xl sm:text-2xl md:text-3xl font-semibold font-algorithms-font">
<h2 className="text-3xl sm:text-base md:text-base font-semibold font-algorithms-font">
Danilo Silva
</h2>

<h2 className="text-gray-600 text-4xl sm:text-2xl md:text-3xl font-algorithms-font font-medium ">
<h2 className="text-gray-600 text-xl sm:text-base md:text-base font-algorithms-font font-medium ">
Computer Engineer
</h2>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/algorithms/src/components/containerfull.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface ContainerProps {

export function ContainerFull({ children }: ContainerProps) {
return (
<div className="w-full px-4 sm:px-6 md:px-8 lg:px-10 xl:px-12 mx-auto max-w-7xl h-screen bg-zinc-950 text-white">
<div className="w-full px-4 sm:px-6 md:px-8 lg:px-10 xl:px-12 mx-auto max-w-7xl bg-zinc-950 text-white">
{children}
</div>
);
Expand Down
29 changes: 0 additions & 29 deletions apps/engine/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions apps/engine/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions apps/engine/api/index.ts

This file was deleted.

13 changes: 0 additions & 13 deletions apps/engine/package.json

This file was deleted.

10 changes: 0 additions & 10 deletions apps/engine/tsconfig.json

This file was deleted.

8 changes: 0 additions & 8 deletions apps/engine/vercel.json

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"dev": "turbo dev --parallel",
"test": "turbo test --parallel",
"start:algorithms": "turbo start --filter=@Algorithms/algorithms",
"dev:engine": "turbo dev --filter=@Algorithms/engine",
"dev:api": "turbo dev --filter=@Algorithms/api",
"dev:algorithms": "turbo dev --filter=@Algorithms/algorithms",
"lint": "turbo lint && manypkg check",
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**", "{apps/engine/dist/**}"]
"outputs": [".next/**", "!.next/cache/**"]
},
"lint": {
"dependsOn": ["^lint"]
Expand Down

0 comments on commit d1cafc0

Please sign in to comment.