-
Notifications
You must be signed in to change notification settings - Fork 35
42 lines (32 loc) · 876 Bytes
/
deploy.yml
File metadata and controls
42 lines (32 loc) · 876 Bytes
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
39
40
41
name: Deploy
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Get sources
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20.19.0'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Internal Package
uses: DevExpress/github-actions/install-internal-package@main
- name: Build
run: |
rm -rf dist
pnpm exec vite build --base "/devextreme-react-template/"
- name: Deploy
uses: JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6
with:
branch: gh-pages
folder: dist
clean: true
target-folder: .