Skip to content

TOL s7 promo added #376

TOL s7 promo added

TOL s7 promo added #376

Workflow file for this run

name: UI deployment
on:
push:
branches: [ "main" ]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies and code quality check
uses: ./.github/workflows/code-quality-check
- name: Create build
run: yarn build
env:
VITE_BASE_URL: /rainbow-swap/
- name: Copy index.html to 404.html
run: cp dist/index.html dist/404.html
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist