Office Development MVP / Microsoft 365 & Azure Development

Elio Struyf is an independent Engineering Lead working for Struyf Consulting, Blogger, and Speaker on a mission to share his tried-and-true wisdom with as many IT developers as possible.

Restart your GitHub Actions workflow when something failed

March 10, 2021

Sometimes it happens that your GitHub Actions workflow fails. When this happens, it is appropriate to check what exactly went wrong before you restart it. Sometimes it could be a timeout or something that was incorrectly configured on the site to test. This issue is precisely the case for my doctor build/test/release GitHub Actions workflow as I do so many changes to test out the tool.

Read more

Use environment variables in Hugo to show branch information

March 2, 2021

For the new documentation website of Doctor, I wanted to do something similar like I did for Pimp Your Own Bike to show a message depending on the version/branch of the site I am using. For the doctor documentation, I wanted to use this method to show a beta message when using the beta site (beta.

Read more

To write code comments or not, it should not be a question

March 1, 2021

Comments, just do it. I write this post because I read a couple of articles, and messages on social platforms about stop using comments in your code. In some cases, there is good reasoning behind it, but even with this reasoning, I believe that comments are too valuable for your DEV team.

Read more

#DevHack: Open your VSCode extension settings from the code

February 26, 2021

For my VSCode Front Matter extension, I wanted to implement a link that allows you to open the VSCode settings to the extension quickly. Front Matter - Quick link to settings I could not find anything in the documentation but found a reference on Stackoverflow mentioning you could use: vscode.

Read more

Using Doctor on Azure DevOps to generate your documentation

February 26, 2021

GitHub Actions is hot these days, but still, Azure DevOps is being used in many companies, and I do as well. Doctor a tool for publishing your markdown documentation on SharePoint, works nicely on Azure DevOps as well. Info I will use the doctor sample as the blueprint for this article.

Read more

#DevHack: GitHub Actions do not run step on schedule

February 25, 2021

When creating a whole new Github Actions workflow for Doctor, I wanted to do as much as possible from one workflow and be able to limit specific actions depending on how it triggered. I wanted my GitHub Actions to run on each push to the dev and main branch and run the tests on a schedule.

Read more