Skip to content

Merge pull request #31 from kadoshita/dependabot/npm_and_yarn/adobe/c… #33

Merge pull request #31 from kadoshita/dependabot/npm_and_yarn/adobe/c…

Merge pull request #31 from kadoshita/dependabot/npm_and_yarn/adobe/c… #33

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm'
- name: build
run: |
cd example
npm ci
npm run build
mkdir public
mkdir -p public/example
cp ../README.md ./public/
mv ./dist/* ./public/example/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: example/public