BE CAREFUL USING GITHUB PAT WITH REPO SCOPE
Did you know that when you’re using a Github personal access token (PAT) with the repo scope, it gives you more permissions than just accessing your repositories? If not, you should take a look into this blog post. What is a GitHub PAT? A classic GitHub PAT gives you the possibility to authenticate using a token against Github, and it’s going to impersonate as your user account. Depending on the chosen scope, you can do multiple things with these token. For example read repository content, write to repository, etc. To create a classical personal access token, you have to go to your developer settings of your personal account.
Read moreTEMPLATE FOR CREATING CUSTOM GITHUB .NET DOCKER ACTIONS
Recently I had to solve a more complex problem for a customer. When I encounter more complex problems in my daily work that can’t be solved with a few Bash or Powershell commands, I use my favourite language C# and the .NET framework. I am a big fan of the .NET framework and have worked with it for most of my IT career. Situations like this also help me to familiarise myself with the latest developments and to get to know the new stuff and try out new functions.
Read moreBUILD AND DEPLOY HUGO SITES WITH GITHUB ACTIONS
When you host your hugo site in a GitHub repository the default way to deploy it to GitHub Pages is using a dedicated branch, like described here. After following the instructions your settings should look like this: But now there is a easier way to achieve the same goal without handling with additional workflows and branches (currently in Beta). You can change the source of deployment here: After changing to GitHub Actions you can create a workflow on a prepared template for Hugo or you take a look here. After committing your new workflow you can delete your old build workflow and your deployment branch.
Read moreGETTING STARTED WITH MY OWN BLOG
Hey there, now I am into the blogging game, too. I followed this pretty easy and straightforward guide for setting up hugo. Over the next days I will add some new content and finalize the blog setup. Feel free to subscribe my RSS-Feed or connect via LinkedIn or GitHub. Also you can checkout the blogs of my friends.