Skip to content

fix: core connection #7

fix: core connection

fix: core connection #7

Workflow file for this run

name: Deploy Apps
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
app:
- email
- core-connection
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- name: Install dependencies and build
run: |
cd examples/${{ matrix.app }}
npm install
npm run build
mkdir -p ../../gh-pages/${{ matrix.app }}
cp -R dist/* ../../gh-pages/${{ matrix.app }}
- name: Deploy to GitHub Pages
if: ${{ matrix.app == 'core-connection' }} # Deploy after the last app
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: gh-pages