Skip to content

fix(vue-router): forgot to render config #10

fix(vue-router): forgot to render config

fix(vue-router): forgot to render config #10

Workflow file for this run

name: Build dist
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js
uses: actions/setup-node@main
with:
node-version: 20.x
- name: npm install and build
run: |
npm install
npm run build
- name: prepare dist folder
run: |
mkdir dist
mv outfile.cjs dist/index.cjs
mv template dist
cat > dist/package.json << EOF
{
"name": "create-vuetify",
"main": "index.cjs",
"bin": {
"create-vuetify": "index.cjs"
}
}
EOF
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist
FOLDER: dist
GITHUB_TOKEN: ${{ secrets.PAT }}