Update version and publish flow (#130) #4
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 Develop | |
env: | |
APP_LOCATION: '' | |
OUTPUT_LOCATION: 'packages/website/build' | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
deploy-dev: | |
runs-on: ubuntu-latest | |
name: Deploy to Dev Environment | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Deploy to Development | |
uses: Azure/static-web-apps-deploy@v1 | |
with: | |
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
output_location: ${{ env.OUTPUT_LOCATION }} | |
app_location: ${{ env.APP_LOCATION }} | |
app_build_command: 'pnpm website build' | |
action: 'upload' | |
skip_api_build: true | |
deployment_environment: 'dev' | |
env: | |
CUSTOM_BUILD_COMMAND: npm i -g corepack@latest && corepack prepare && pnpm install --frozen-lockfile && pnpm ui build && pnpm website build | |
ENABLE_NODE_MONOREPO_BUILD: true | |
NODE_VERSION: 22 |