Skip to content

Support absolute paths @ add plugin to sort import #5

Support absolute paths @ add plugin to sort import

Support absolute paths @ add plugin to sort import #5

Workflow file for this run

name: Deploy Addict app
on:
push:
branches:
- main
paths:
- 'app/**'
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: |
cd ./app
yarn
yarn build
env:
VITE_GITHUB_TOKEN: ${{ secrets.PUBLIC_TOKEN }}
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./app/dist
keep_files: true