Skip to content

Adiciona workflows

Adiciona workflows #1

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Resize images for production 🎨
run: |
sudo apt-get install -y imagemagick
mogrify -resize 600 ./src/assets/cards/imagens/*[.png,.jpg,.jpeg,.PNG,.JPG,.JPEG]
- name: Install and Build 🔧
run: |
npm install --legacy-peer-deps
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build