Skip to content

Fix file location

Fix file location #1

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- dev
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Install and Build 🔧
run: |
npm install
npm run build
- name: Add .nojekyll file
run: |
touch dist/spa/.nojekyll
- name: Deploy to Specific Branch 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/spa
publish_branch: deploy-branch
keep_files: false