Skip to content
Merged

Main #29

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
name: Deploy do Tema WordPress no Servidor
name: Deploy do Tema WordPress via FTP

on:
push:
branches:
- main
branches: [main]

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

steps:
- name: 🚚 Baixando o código do repositório
uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4

- name: 🚀 Enviando o tema para o servidor via SFTP
uses: SamKirkland/FTP-Deploy-Action@4.3.3
- name: Sincronizar arquivos via FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
port: ${{ secrets.FTP_PORT }}
protocol: ftp
local-dir: ./
server-dir: /public_html/wp-content/themes/site-learninglab/
server-dir: ./learninglab.com.br/wp-content/themes/site-learninglab/
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
.github/**
Loading