Deploy #69
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: Deploy | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Restore npm cache | |
uses: actions/cache@v3 | |
with: | |
path: ./node_modules | |
key: ${{ runner.os }}-node-modules | |
- name: Run npm install | |
run: npm install --no-package-lock --no-audit --no-fund | |
- name: Install Internal Package | |
uses: DevExpress/github-actions/install-internal-package@main | |
- name: Build | |
run: npm run build | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.DEPLOY_SECRET }} | |
BRANCH: gh-pages | |
FOLDER: dist/devextreme-themebuilder-app | |
CLEAN: true | |