Skip to content

Update index.html for testing2 #4

Update index.html for testing2

Update index.html for testing2 #4

Workflow file for this run

name: Deploy_frontend
# Deploys when push is made form frontend folder
on:
push:
branches: [ master ]
paths:
- 'frontend/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Upload to blob storage
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob upload-batch --account-name cloudresumestorageacc --auth-mode key -d '$web' -s frontend/ --overwrite true
# az storage blob upload-batch --account-name cloudresumestorageacc --auth-mode key -d '$web' -s frontend/ --overwrite true
# - name: Purge CDN endpoint
# uses: azure/CLI@v1
# with:
# inlineScript: |
# az cdn endpoint purge --content-paths "/*" --profile-name "CDN_PROFILE_NAME" --name "CDN_ENDPOINT" --resource-group "RESOURCE_GROUP"
# Azure logout
- name: logout
run: |
az logout
if: always()