Ideas from books, articles & podcasts.
package.json contains deployment script. This script is a combination of two commands;
gatsby build --prefix-paths and
gh-pages -d public . In the last step of the workflow, I run this command by running the following shell script.
Before running the
npm command, I have to set the remote url of the repository, which requires a secret GITHUB_TOKEN . This is a secret that is automatically created for you when you enable Github Actions on your repository. Also, the
npm command needs the information of the user running it. We provide it using the param
-u . Read about it here
MORE IDEAS FROM THE SAME ARTICLE
One of the goals I have set for myself is to be consistant at writing. This means I will have to frequently publish the articles. For the first few posts, I did manual deployments from my laptop. Now, I have automated the process. As soon as I merge a post to the master branch, a deployment scrip...
created 7 ideas
created 10 ideas
created 6 ideas
These ideas provide simple sources for writing ideas that can be used to come up with creative writing stories
❤️ Brainstash Inc.