Feature/15 move app to azure storage cdn #18
4
.github/workflows/app_build_deploy.yaml
vendored
4
.github/workflows/app_build_deploy.yaml
vendored
@@ -61,7 +61,7 @@ jobs:
|
||||
uses: azure/CLI@v1
|
||||
with:
|
||||
inlineScript: |
|
||||
az storage blob upload-batch --account-name ${{ vars.AZURE_STORAGE_ACCOUNT_NAME }} --auth-mode key -d '$web' -s ./dist
|
||||
az storage blob upload-batch --account-name ${{ vars.AZURE_STORAGE_ACCOUNT_NAME }} --auth-mode key -d '$web' -s ./app/dist
|
||||
|
||||
# - name: Purge CDN endpoint
|
||||
# if: ${{ inputs.environment_name != 'pull_request' }}
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
# inlineScript: |
|
||||
# az cdn endpoint purge --content-paths "/*" --profile-name "CDN_PROFILE_NAME" --name "CDN_ENDPOINT" --resource-group "RESOURCE_GROUP"
|
||||
|
||||
- name: logout
|
||||
- name: Azure CLI logout
|
||||
if: ${{ inputs.environment_name != 'pull_request' }}
|
||||
run: |
|
||||
az logout
|
||||
|
||||
@@ -233,7 +233,7 @@ const Projects = () => {
|
||||
<Spinner />
|
||||
</Grid>
|
||||
<Grid display="flex" justifyContent="center" size={12}>
|
||||
Loading projects...
|
||||
Loading projects slowly...
|
||||
</Grid>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user