Learn more about computerscience with this collection
Understanding machine learning models
Improving data analysis and decision-making
How Google uses logic in machine learning
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
1
1 read
MORE IDEAS ON THIS
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...
1
12 reads
Next, I have to build the source code. For that I need NodeJS setup in the machine where the job is running. The runner is simply a blank server at the time of creation (of course it has t...
1
0 reads
The next step is pretty obvious. It is to install the library that the application needs using the command npm ci
. If you are wondering why I did not use npm install
, this artic...
1
0 reads
The first step, of course, is to checkout the master branch. This is done using the actions/checkout action, which is a pretty standard action everyone uses.
1
4 reads
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving & library
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Personalized recommendations
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates