Skip to content

Commit

Permalink
clean up action
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Nov 15, 2024
1 parent f532649 commit a8ce156
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Publish documentation
name: Publish API documentation

on:
push:
branches:
- build/docs-website-action # TEST ACTION
tags:
- v[0-9]+.[0-9]+.[0-9]+*

Expand All @@ -14,14 +12,14 @@ jobs:
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
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build API documentation
run: yarn build:docs
- name: Upload to Azure Blob Storage
uses: azure/cli@089eac9d8cc39f5d003e94f8b65efc51076c9cbd # tag: v2.1.0
with:
azcliversion: latest
Expand Down

0 comments on commit a8ce156

Please sign in to comment.