Skip to content

Update build-zip.yml #26

Update build-zip.yml

Update build-zip.yml #26

Workflow file for this run

name: Zip and FTP #3
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
path: ./weight-tracker/weight-tracker/
- name: Archive Release
uses: thedoctor0/[email protected]
with:
# command: mkdir -p release
#custom: --transform 's,^,weight-tracker/,'
directory: ./weight-tracker
#command: cp -a ./ ./weight-tracker/
type: 'zip'
filename: './weight-tracker/dist/weight-tracker.zip'
exclusions: '*.git* /*node_modules/* .editorconfig /playwright* /docs* /dist*'
- name: Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_URL }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./weight-tracker/dist/