Personal frontpage • 👉 aronnebrivio.dev
IMPORTANT NOTE:
Due to a GitHub Pages limitation that does not allow you to select a different branch for the deployment of user pages, I configured production as the "master" branch in git-flow and as the "default" branch in GitHub repository settings.
This will allow me to publish releases on a branch that differs to the master one, in which only the files generated by the build process will be contained.
To see the generated dist folder heads to master branch.
npm install
npm run buildThis will create a new dist folder.
To automate the GitHub Page deploy I'm using JamesIves/github-pages-deploy-action in my GitHub workflow for the production environment.
npm install
npm run serveThis will serve the src folder at localhost:XXXX (default port is 3000).
ProTip: you can serve the dist folder using npm run serve-as-prod command.
Ref: Gitpod.io
Copyright (c) 2020-2024 Aronne Brivio. Released under the MIT License. See LICENSE for details.