updates for relative url

This commit is contained in:
Jeremy Likness
2020-01-29 13:54:59 -08:00
parent 744e1eea66
commit 2609d8cf25
11 changed files with 40 additions and 38 deletions

View File

@@ -50,7 +50,9 @@ jobs:
path: ${{ env.OUTPUT_PATH }}
- name: Fix Base URL
run: sed -i "s/base href=\"\/\"/base href=\"\/vanillajs\/\"/g" ${{ env.OUTPUT_PATH }}index.html
run: |
sed -i "s/base href=\"\/\"/base href=\"\/vanillajs\/\"/g" ${{ env.OUTPUT_PATH }}index.html
sed -i "s/scope: \'\/\'/scope: \'\/vanillajs/\'/g" ${{ env.OUTPUT_PATH }}index.html
- name: Deploy to Azure Storage
run: az storage blob upload-batch --source ${{ env.OUTPUT_PATH }} --destination \$web/vanillajs --account-name ${STORAGE_NAME}