Skip to content

atualiza build e publicacao #4

atualiza build e publicacao

atualiza build e publicacao #4

Workflow file for this run

name: Build e Publicacao
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout do codigo
uses: actions/checkout@v3
- name: 🔧 Configura Node
uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: "npm"
- name: 🏗️ Build
run: npm ci
- name: 🚀 Deploy
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}