Skip to content

feat: adiciona tracker individual nas páginas e compacta imagens #17

feat: adiciona tracker individual nas páginas e compacta imagens

feat: adiciona tracker individual nas páginas e compacta imagens #17

Workflow file for this run

name: Deploy via ftp
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Set up environment variables
run: echo "VITE_API_GKEY=${{ secrets.VITE_API_GKEY }}" >> $GITHUB_ENV
- name: Build Project
run: |
npm install
npm run build
- name: FTP Deploy Locaweb
uses: locaweb/ftp-deploy@1.0.0
with:
host: ${{ secrets.HOST }}
user: ${{ secrets.USER }}
password: ${{ secrets.PASS }}
localDir: ./dist/
remoteDir: public_html
args: -P 21 -e "set ftp:ssl-allow false" --delete