Update deployment to only deploy to static website hosting in Azure #40
This file contains hidden or 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: Deploy documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
pledger-web: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build And Deploy | |
uses: Azure/static-web-apps-deploy@v1 | |
with: | |
azure_static_web_apps_api_token: ${{ secrets.PLEDGER_WEB_DEPLOY_TOKEN }} | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
app_location: "/" | |
output_location: "public" | |
action: "upload" |