You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Authenticate to Azure as a Service Principal
44
50
uses: azure/login@v1
45
51
with:
@@ -48,8 +54,11 @@ runs:
48
54
- name: Find and replace the placeholders
49
55
shell: pwsh
50
56
run: |
51
-
sed -i 's/<<BRANCH_NAME>>/${{ env.BRANCH_NAME }}/g' manifest.json
52
-
sed -i 's/Welcome to the auto-generated documentation for your dbt project!/Welcome to the auto-generated documentation for your dbt project for the ${{ env.BRANCH_NAME }} branch!/g ' manifest.json
57
+
sed -i 's|<<BRANCH_NAME>>|${{ env.BRANCH_NAME }}|g' manifest.json
58
+
if("${{ inputs.branchBasedFolder }}" -eq "yes") {
59
+
sed -i 's|manifest.json|${{ env.MANIFEST_FILE }}|g' index.html
60
+
sed -i 's|catalog.json|${{ env.CATALOG_FILE }}|g' index.html
0 commit comments