Skip to content

Commit

Permalink
should fix difference between local and remote theme
Browse files Browse the repository at this point in the history
  • Loading branch information
stowen-msft committed May 9, 2024
1 parent 8895f67 commit 0a041a6
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ To run the site locally, first mirror this repo, then install Ruby for Windows.
* Chose options 1 & 3
* add Ruby install dir to %PATH% variable
* run `InstallSiteDependencies.bat` and rerun until completes without errors (may need to install missing components)
* In case of errors, make sure to toggle between #theme and #remote-theme in the config.yml file
* run `StartJekyllLocally.bat` to verify layout works and to troubleshoot errors.


Expand Down
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ fixed_navbar: top
theme_color: '#333333'
layout: post

load_paths:
- _sass
- node_modules

sass:
sass_dir: _sass

# Build settings
paginate: 6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "How to perform actions in Azure, in your Azure Devops Pipelines, without using Saved Passwords"
date: "2024-05-07"
redirect_from : 2024/05/07/How-to-create-Azure-resources-in-your-Azure-Devops-Pipelines,-without-using-Saved-Passwords
coverImage: \assets\images\2021\usingMSIswithinganADOpipeline.webp
coverImage: /assets/images/2024/MigratingAzureDevopPipelinesToUseMSIs.png
categories:
- "azuredevops"
- "adopipeline"
Expand All @@ -11,12 +11,13 @@ categories:
tags:
- "devops"
excerpt: "Using saved passwords in Azure Devops Pipelines is sooooo 2023. The new hotness is using Azure Workload Id Federation. It only took me 27 tries to get it right, and you can learn to do it form me correctly the first time. "
fileName: '2024-05-07-how-to-create-azure-resources-in-your-azure-devops-pipelines,-without-using-saved-passwords'
fileName: '2024-05-07-how-to-create-azure-resources-in-your-azure-devops-pipelines-without-using-saved-passwords'
---
Using saved passwords in Azure Devops Pipelines is sooooo 2023. The new hotness is using Azure Workload Id Federation. It only took me 27 tries to get it right, and you can learn to do it form me correctly the first time.

![Header for this post, reads 'How To Make GitHub Button'](\assets\images\2024\MigratingAzureDevopPipelinesToUseMSIs.png)
![Header for this post, reads 'How To Make GitHub Button'](/assets/images/2024/MigratingAzureDevopPipelinesToUseMSIs.png)


---

### Post Outline
Expand Down
1 change: 1 addition & 0 deletions installSiteDependencies.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
gem install bundler && gem update --system 3.5.6
gem install jekyll-remote-theme && gem install jekyll-gist
gem install "bulma-clean-theme" && gem install jekyll -v 3.8.5 && bundle init
echo "remeber to togle between local and remote theme if debugging"
bundle add jekyll -v 3.8.5 --skip-install
bundle exec jekyll new --force --skip-bundle .
bundle install
Expand Down
1 change: 1 addition & 0 deletions startJekyllLocally.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
echo "remeber to togle between local and remote theme if debugging"
bundle && bundle exec jekyll serve --incremental --host=127.0.0.1
1 change: 1 addition & 0 deletions startSite.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
echo "remeber to togle between local and remote theme if debugging"
gem install bundler && gem update --system 3.5.6 && gem install "webrick"
gem install jekyll-remote-theme && gem install jekyll-gist
gem install "bulma-clean-theme" && gem install jekyll -v 3.8.5 && bundle init
Expand Down

0 comments on commit 0a041a6

Please sign in to comment.