Skip to content

fix: 🐛 atualiza uso do sanity.io #99

fix: 🐛 atualiza uso do sanity.io

fix: 🐛 atualiza uso do sanity.io #99

Workflow file for this run

name: CI -> Deploy to My website
on:
push:
branches: [ main ]
jobs:
deploy-front:
runs-on: ubuntu-latest
environment:
name: blogsanity
steps:
- uses: actions/checkout@v2
# Criação do build
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.18.1
- run: npm install
- run: npm run build
- run: cp .htaccess ./build
# Deploy do front
- name: Upload from public_html via FTP
uses: airvzxf/ftp-deployment-action@latest
with:
server: ${{ secrets.FTP_SERVER }}
user: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local_dir: ${{ secrets.FTP_LOCAL_DIR}}
remote_dir: ${{ secrets.FTP_REMOTE_DIR}}
delete: "false"