Skip to content

Merge pull request #27 from firefly-iii/dependabot/npm_and_yarn/postc… #42

Merge pull request #27 from firefly-iii/dependabot/npm_and_yarn/postc…

Merge pull request #27 from firefly-iii/dependabot/npm_and_yarn/postc… #42

Workflow file for this run

name: Publish documentation
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Build documentation
run: |
npm install && npm run build
# copy security.txt to dist.
cp -r src/.well-known dist/.well-known
- name: Upload to Azure Blob Storage
env:
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.connectionString }}
run: |
az storage blob upload-batch \
-s ./dist \
-d 'https://fireflyiiiwebsite.blob.core.windows.net/$web' \
--overwrite