Skip to content

attempt to upload to azure CLI #6

attempt to upload to azure CLI

attempt to upload to azure CLI #6

Workflow file for this run

name: Publish documentation
on:
push:
branches:
- build/docs-website-action # TEST ACTION
tags:
- v[0-9]+.[0-9]+.[0-9]+*
permissions: {}
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag: v4.1.7
- name: Fetch all git branches
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # tag: v4.0.3
with:
node-version: lts/*
- run: yarn --frozen-lockfile
- run: yarn build:docs
- name: Azure CLI script
uses: azure/cli@089eac9d8cc39f5d003e94f8b65efc51076c9cbd # tag: v2.1.0
with:
azcliversion: latest
inlineScript: |
az storage blob upload-batch --account-name electronecosystemapidocs -d '$web' -s ./docs --overwrite --sas-token "$SAS"
env:
SAS: ${{ secrets.SAS }}