Fix links #44
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: 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 |