Skip to content

Commit

Permalink
Update ftp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alicolville committed Sep 11, 2024
1 parent 860aac9 commit 6b44284
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/ftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,24 @@ on:
branches:
- master
jobs:
web-deploy:
name: 🎉 Deploy
build:
name: Build release zip
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
- name: Checkout
uses: actions/checkout@v3

- name: 📂 Sync files
uses: leandrorepos/[email protected]
with:
server: ${{ secrets.FTP_URL }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
- name: Build plugin # Remove or modify this step as needed
run: |
composer install --no-dev
npm install
npm run build
- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable


# server: ${{ secrets.FTP_URL }}
# username: ${{ secrets.FTP_USERNAME }}
# password: ${{ secrets.FTP_PASSWORD }}

0 comments on commit 6b44284

Please sign in to comment.