What is Github Action? GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that lets you automate your build, test, and deployment processes. You can create workflows to build and test every pull request to your repository, or deploy merged pull requests to production. GitHub Actions is more than just DevOps; it lets you run workflows when other events happen in your repository. For example, you can run
Getting Started with Github Actions
Github Actions automatically deploys hugo to Github Pages
Preface I recently planned to upgrade the theme of my blog. Since I was playing around with Github Actions, I planned to use it to implement CICD. After writing and submitting the article, the static files generated by hugo will be automatically deployed to Github pages, Netlify, Vercel, Cloud flare Pages and other third-party platforms. Today, I will record the automatic deployment process of Github pages, which will save a
Summary of CKA Examination Experience in 2024
I have wanted to take a cloud native & k8s related certificate for a long time. The sooner the better. I have been postponing it until this year due to work reasons. I have seen its price increase twice (it hurts a little bit to say this). Recently, I finally had time to spare a week to prepare for the exam. Since I have been using kubernetes in my work
Open source Waf security protection solution
After adding CDN to the website recently, there are always a lot of junk requests inexplicably in the early morning, some of which are scans, some are large model UserAgents, and some are black spiders. In order to save CDN costs and prevent various injection attacks, I started to investigate open source Waf solutions (my own small broken site is enough). If it is used by an enterprise, it is
Use ollama and open-webui to experience open source big models
It has been more than a year since the use of large models. From the initial chatgbt3.5/4 to the current domestic large models, open source large models are becoming more and more powerful, such as Llama, SD, etc. Today, I will introduce two tools that have been used for a long time, ollama and open-webui. Ollama Ollama is an open source deep learning framework designed for easy deployment and operation
Python script to generate a sitemap
I was recently helping a friend research a CMS site group and found that the CMS did not have a sitemap function. Python3 was already installed on the server, so I could only temporarily generate one using a script. I’ll record it here. Script content: Copy 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
A powerful tool for operating Baidu Cloud Disk under Linux
Recently, I have been deploying private SAAS products on the customer side. Since the customer’s on-site network cannot access the Internet, the data can only be transferred through the Linux jump server. In addition to the k8s offline deployment program and image, there are also hundreds of GB of video data that have been cut, so it can only be transferred through Baidu Cloud Disk. Imagine whether it is possible
An open source Windows package management tool
Since I have been using Mac for work and am used to the convenience of installing software packages with brew on Mac, I recently installed Windows on my company computer. I want to try it out. How can I install software packages as smoothly as on MAC? Of course, the protagonist I recommend today is Scoop. Scoop is an open source project that mainly installs Windows software packages through commands.