Skip to content

Commit

Permalink
fix: workflows and fix desk article (#67)
Browse files Browse the repository at this point in the history
* fix: shorten titles of notes, articles and projects

* fix: workflows and desk article
  • Loading branch information
thedaviddias committed Aug 5, 2023
1 parent e08c5b0 commit d61ead0
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 29 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/production-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- name: Run build
run: pnpm build

- name: Run tests
run: pnpm test:e2e
# - name: Run tests
# run: pnpm test:e2e

# - name: SimpleLocalize Download
# uses: simplelocalize/download@latest
Expand All @@ -62,11 +62,11 @@ jobs:
# downloadFormat: single-language-json
# uploadOptions: 'WRITE_NESTED,ESCAPE_NEW_LINES'

- name: Vercel deployment
uses: amondnet/vercel-action@v25.1.1
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-args: '--prod'
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
# - name: Vercel deployment
# uses: amondnet/vercel-action@v25.1.1
# with:
# vercel-token: ${{ secrets.VERCEL_TOKEN }}
# github-token: ${{ secrets.GITHUB_TOKEN }}
# vercel-args: '--prod'
# vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
# vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
32 changes: 16 additions & 16 deletions .github/workflows/staging-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,19 @@ jobs:
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}
SPOTIFY_REFRESH_TOKEN: ${{ secrets.SPOTIFY_REFRESH_TOKEN }}

- name: Deploy to Staging
id: deploy-vercel-staging
uses: BetaHuhn/deploy-to-vercel-action@v1
with:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID}}
PRODUCTION: false
BUILD_ENV: |
RAINDROP_COLLECTION=${{ secrets.RAINDROP_COLLECTION }}
RAINDROP_TOKEN=${{ secrets.RAINDROP_TOKEN }}
GH_PUBLIC_TOKEN=${{ secrets.GH_PUBLIC_TOKEN }}
SPOTIFY_CLIENT_ID=${{ secrets.SPOTIFY_CLIENT_ID }}
SPOTIFY_CLIENT_SECRET=${{ secrets.SPOTIFY_CLIENT_SECRET }}
SPOTIFY_REFRESH_TOKEN=${{ secrets.SPOTIFY_REFRESH_TOKEN }}
# - name: Deploy to Staging
# id: deploy-vercel-staging
# uses: BetaHuhn/deploy-to-vercel-action@v1
# with:
# VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
# VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID}}
# PRODUCTION: false
# BUILD_ENV: |
# RAINDROP_COLLECTION=${{ secrets.RAINDROP_COLLECTION }}
# RAINDROP_TOKEN=${{ secrets.RAINDROP_TOKEN }}
# GH_PUBLIC_TOKEN=${{ secrets.GH_PUBLIC_TOKEN }}
# SPOTIFY_CLIENT_ID=${{ secrets.SPOTIFY_CLIENT_ID }}
# SPOTIFY_CLIENT_SECRET=${{ secrets.SPOTIFY_CLIENT_SECRET }}
# SPOTIFY_REFRESH_TOKEN=${{ secrets.SPOTIFY_REFRESH_TOKEN }}
1 change: 1 addition & 0 deletions apps/blog/src/pages/articles/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ const BlogPostPage: NextPage<BlogPostPageProps> = ({
<NextSeo
title={title}
description={description}
titleTemplate={'%s | David Dias'}
openGraph={{
title,
description,
Expand Down
1 change: 1 addition & 0 deletions apps/blog/src/pages/notes/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ const NotePage: NextPage<NotePageProps> = ({ frontMatter, source, permalink, adj
<NextSeo
title={title}
description={description}
titleTemplate={'%s | David Dias'}
openGraph={{
title,
description,
Expand Down
1 change: 1 addition & 0 deletions apps/blog/src/pages/projects/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const ProjectPage: NextPage<BlogPostPageProps> = ({ frontMatter, source, permali
<NextSeo
title={title}
description={description}
titleTemplate={'%s | David Dias'}
openGraph={{
title,
description,
Expand Down
8 changes: 5 additions & 3 deletions content/articles/ideal-desk-setup-personal-journey.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
draft: false
locale: en
date: 2023-07-30T01:48:39.903Z
title: 'The Ideal Desk Setup: A Personal Journey'
description: Join me as I take you on a tour of my desk setup, showing how it has evolved over the years, and how it enhances my productivity and creative pursuits. Let's discuss and share our ideal desk setups!
title: 'My Ideal Desk Setup: A Personal Journey'
description: Join me as I take you on a tour of my ideal desk setup, showing how it has evolved over the years, and how it enhances my productivity and creative pursuits.
preview:
url: /images/articles/ideal-desk-setup-personal-journey/desk-setup-front.jpg
alt: null
Expand All @@ -18,7 +18,9 @@ slug: ideal-desk-setup-personal-journey

I first embarked on my journey to create the perfect desk setup in 2018, when I made the big move from [Mauritius](https://en.wikipedia.org/wiki/Mauritius) to Canada.

The notion of an ideal setup has always been a tantalizing dream of mine. But when can we honestly say, "This is it, this is the setup I always wanted."? Well, there's no definitive answer to that. However, after a few years of relentless experimentation, I can confidently say that I'm truly happy with what I have.
The notion of an ideal desk setup has always been a tantalizing dream of mine. But when can we honestly say, "This is it, this is the setup I always wanted."? Well, there's no definitive answer to that. However, after a few years of relentless experimentation, I can confidently say that I'm truly happy with what I have.

I have always been passionate in exploring different areas of knowledge. Which is somehow reflected in all my past experiences. Most people focus on one specific domain of expertise and become experts in it. Even I have my expertises, I'm always looking to explore new domains. And this is what you will see reflected in my different desk setups.

(Check out the list of all the gear I use at https://kit.co/thedaviddias)

Expand Down

2 comments on commit d61ead0

@vercel
Copy link

@vercel vercel bot commented on d61ead0 Aug 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on d61ead0 Aug 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.