Skip to content

Commit

Permalink
Update hugo-build-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorcenski authored Dec 30, 2024
1 parent 4c547a5 commit 4f48d7c
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/hugo-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,3 @@ jobs:
- name: Deploy to exoscale
run: |
rsync -avzr --checksum -e "ssh -i ~/.ssh/exoscale" ./public/ ubuntu@${{ secrets.EXOSCALE_SSH_HOST }}:/www/wtcd/
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Upload to blob storage
uses: azure/CLI@v1
with:
azcliversion: 2.0.72
inlineScript: |
az storage blob upload-batch --account-name wtcdsite -d '$web' -s public/.
- name: Purge CDN endpoint
uses: azure/CLI@v1
with:
azcliversion: 2.0.72
inlineScript: |
az cdn endpoint purge --content-paths "/*" --profile-name "wtcd-cdn-pf" --name "wtcd-cdn" --resource-group "wtcd"
- name: logout
run: |
az logout

0 comments on commit 4f48d7c

Please sign in to comment.