Create dockerhub-proxy.md #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs Build and Upload to Azure | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: | |
- 'docs/**' | |
- 'versioned_docs/**' | |
- 'i18n/**' | |
- 'src/**' | |
- 'static/**' | |
- '**.js' | |
- '!docs/_list' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
#if: false # stop steps | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Docusaurus build | |
run: | | |
yarn install | |
yarn run build | |
env: | |
CI: true | |
# to azure blob | |
- name: debug | |
run: ls | |
- uses: bacongobbler/azure-blob-storage-upload@main | |
with: | |
source_dir: build | |
container_name: $web | |
connection_string: ${{ secrets.Azure_blob }} | |
extra_args: '--destination-path ./' | |
overwrite: true |