8000 GitHub - ajoy2018/cheat-sheet: Code snippets and note for tech stuff
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ajoy2018/cheat-sheet

 
 

Repository files navigation

Learning Cheat sheet

Overview

This repository contains my code snippets and learning notes.

I use it as a reference to quickly review my knowledge, which saves me a lot of time compared to searching on the internet.

This can be viewed at the documentation website.

Deploy

The website is deployed to Vercel.

Github Actions is the CI enviroment that run the deployment workflow. Reasons:

  • I don't want to connect the repository to Vercel project
  • Runtime of deployment workflow is slower in Vercel's CI environment
  • There was an issue when run deployment workflow in Vercel's CI environment

The deployment workflow is defined in .github/workflows/deploy-app.yml.

Production deployment is triggered on push to master branch.

Vercel setup

The Framework Preset property of Vercel project must be set to Next.js.

Do not connect the repository to Vercel project.

Secrets and Environment Variables

Required secrets and environment variables need to be set up in Github for the deployment workflow:

  • VERCEL_PROJECT_ID (env vars): value can be obtained using vercel pull command
  • VERCEL_ORG_ID (env vars): value can be obtained using vercel pull command
  • VERCEL_TOKEN (secret)

About

Code snippets and note for tech stuff

Resources

< 43D5 div class="mt-2"> Activity

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 69.9%
  • MDX 30.0%
  • Other 0.1%
0