-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (33 loc) · 1.05 KB
/
deploy-develop.yml
File metadata and controls
38 lines (33 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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