How Angular calls CORS enabled Netlify Function

Loading

Reading Time: 3 minutes Introduction In previous post (article), I created a Netlify function to return menu data in JSON format. In this post, I will show how to deploy the Netlify function to production environment and call the endpoint in the Angular Spanish Menu app from Github Page Enable CORS in Netlify function Github page and Netlify have … Read more

Use github action to deploy vue app to github page

Loading

Reading Time: < 1 minute Generate a personal access token and create ACCESS_TOKEN variable under Settings -> Secrets. Keep the personal access token in a safe place and do not lose it Go to Actions tab of the github repo Create main.yml under .github/workflow There is no need to write custom deployment script and travis configuration file to automate the … Read more

Use Github Action to deploy Angular app to github page

Loading

Reading Time: < 1 minute Generate a personal access token and create ACCESS_TOKEN variable in Settings -> Secrets. Keep the personal access token in a safe place and do not lose it Go to Actions tab of the github repo Create main.yml under .github/workflow References: https://github.com/marketplace/actions/deploy-to-github-pages Create access token for the command line