Skip to content

Add jQuery variable definitions and CSS animation for star twinkle ef… #20

Add jQuery variable definitions and CSS animation for star twinkle ef…

Add jQuery variable definitions and CSS animation for star twinkle ef… #20

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Avvia il deploy quando ci sono modifiche su "main"
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Set permissions for Vite
run: chmod +x ./node_modules/.bin/vite
- name: Build project
run: npm run build
- name: Deploy to gh-pages branch
run: |
git config --global user.email "lollo176ita@gmail.com"
git config --global user.name "GitHub Actions"
git add dist -f
git commit -m "Deploy to GitHub Pages"
git push -f origin `git subtree split --prefix dist main`:gh-pages