Skip to content

Commit

Permalink
Updated GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostnetic committed Sep 30, 2023
1 parent 4a98fd3 commit 71bbbb0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy to Azure Storage

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Sync files to Azure Blob Storage
run: |
az storage blob upload-batch --source ./ --destination $web --account-name resumestorageghostnetic
- name: Logout of Azure
run: az logout

0 comments on commit 71bbbb0

Please sign in to comment.