Join us
@thaotruongrakuten ă» Dec 18,2021 ă» 2 min read ă» 6622 views ă» Originally posted on faun.pub
In this article, I will show you how did I set up CI/CD for my personal blog with free services.
Nowadays, CI/CD became an essential part when developing software. It can save tons of money, time and reduce risks⊠In this article, I will show you how did I set up CI/CD for my personal blog with free services.
If you are not familiar with any services, check their definitions:
Firstly, have a look at this workflow.
Letâs see how to set up this workflow.
Add Actions secrets
There are some secret variables that you need to use in the GitHub Action workflow.yml file, so it should be better if they are encrypted by storing them in Github Secrets.
You can go to repository Settings â Secrets â Actions, then click New repository secret.
There are some variables we need:
Now we have enough secret variables to use in our CI/CD workflow file.
Create a workflow YAML file
3. We have 2 jobs here: run build_and_push then after it finishes, run deploy.
Some things need to be noted in the YAML files:
If you found this blog is helpful, please share and give some claps đđđ
You can connect with me on LinkedIn and Twitter.
If you have any comments, questions, or recommendations, feel free to post them in the comment section below!
Join other developers and claim your FAUN account now!
Influence
Total Hits
Posts
Only registered users can post comments. Please, login or signup.