Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 682 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 682 Bytes

My personal website

Install notes

git clone [email protected]:zinefer/hugo-carbon.git themes/carbon

Github Actions Setup:

SUBSCRIPTIONID=""
RESOURCEGROUP=""
APPNAME=""
STORAGEACCOUNT=""

az ad sp create-for-rbac --name "$APPNAME" --role contributor --scopes /subscriptions/$SUBSCRIPTIONID/resourceGroups/$RESOURCEGROUP --sdk-auth

az role assignment create --role "Storage Blob Data Contributor" --assignee $(az ad sp list --display-name "$APPNAME" --query "[].appId" -o tsv) --scope /subscriptions/$SUBSCRIPTIONID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.Storage/storageAccounts/$STORAGEACCOUNT

Just run create-for-rbac to refresh credentials