-
-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (24 loc) · 615 Bytes
/
deploy.yml
File metadata and controls
32 lines (24 loc) · 615 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Deploy Vite to GitHub Pages
on:
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout do repositório
uses: actions/checkout@v4
- name: Configurar Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Instalar dependências
run: npm install
- name: Build do projeto
run: npm run build
- name: Deploy para GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build