Skip to content

Commit

Permalink
chore: upload to blob storage
Browse files Browse the repository at this point in the history
  • Loading branch information
venikx committed Nov 17, 2023
1 parent 2181756 commit c9eb76a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/wellcom-azure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Upload to Azure Blob Storage
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

jobs:
setup:
name: Setup & Upload
runs-on: ubuntu-latest
environment: production
steps:
- uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Upload lithology patterns assets
working-directory: ./assets
run: |
az storage blob upload-batch \
--account-name ${{ secrets.AZ_STORAGE_ACCOUNT_NAME }} \
--source ./svg \
--destination lithology-patterns
- run: az logout
if: ${{ always() }}

0 comments on commit c9eb76a

Please sign in to comment.