Skip to content

Update build-zip.yml #57

Update build-zip.yml

Update build-zip.yml #57

Workflow file for this run

name: Build WP Plugin (zip) and FTP to web server #3
on: [push]
#on:
# push:
# tags:
# - v1.**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: /home/runner/work/Weight-Tracker/Weight-Tracker/weight-loss-tracker/
- name: Create temporary directories
run: |
mkdir /tmp/zip/
mkdir /tmp/code/
- name: Build the zip (excluding certain folders)
uses: thedoctor0/[email protected]
with:
type: 'zip'
directory: /home/runner/work/Weight-Tracker/Weight-Tracker/
filename: '/tmp/zip/weight-tracker.zip'
exclusions: '*.git* /*node_modules/* .editorconfig /*playwright* /*docs* /*dist*'
- name: FTP: Zip file for user downloads

Check failure on line 25 in .github/workflows/build-zip.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-zip.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_URL }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: /tmp/zip/