Skip to content

feat: Implement treatment, gallery, and veil content management featu… #28

feat: Implement treatment, gallery, and veil content management featu…

feat: Implement treatment, gallery, and veil content management featu… #28

# name: Build and Deploy to GitHub Pages
# on:
# workflow_dispatch:
# inputs:
# reason:
# description: "Reason for deployment"
# required: true
# push:
# branches:
# - main
# paths:
# - "frontend/**"
# permissions:
# contents: write
# jobs:
# deploy:
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - name: Checkout
# uses: actions/checkout@v4.2.2
# - name: Setup Node.js
# uses: actions/setup-node@v4.1.0
# with:
# node-version: "20"
# cache: "npm"
# - name: Install Dependencies
# run: cd frontend && npm i --legacy-peer-deps
# - name: Build Mavluda Beauty Frontend
# run: cd frontend && npm run build --prod --base-href=/mavluda-beauty/
# - name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@v4.0.0
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./frontend/dist/
# publish_branch: gh-pages