Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 901 Bytes

HOW_TO_DEPLOY.MD

File metadata and controls

19 lines (11 loc) · 901 Bytes

How to deploy the project (on GitHub pages)

There are 2 methods.

Method 1: Using Github Actions

  1. Update vite.config.js base property to match the name of the repository. For example, base: "/2d-portfolio-kaboom"

  2. Navigate to the repository settings on GitHub and configure GitHub pages to use GitHub Actions by creating a custom workflow. Read this for more info.

  3. After setting up the custom workflow, go to the Actions tab within the repository. From there, select the workflow you created in step 2 and trigger the deployment process.

  4. The portfolio should now be live and accessible through GitHub pages.

Method 2: Using Another Repository

  1. Run npm run build.
  2. Take the resulting content of the dist folder and put it in a new GitHub repository.
  3. Activate GitHub pages in your new repository's settings.