Skip to content

Commit

Permalink
fix: create zip to test as well as
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Feb 6, 2025
1 parent a6cb30d commit b9e12c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/nightly-build-dev2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,17 @@ jobs:
pnpm run build
timestamp=$(date +%s)
echo "dev-${timestamp}" > dist/version.txt
mkdir -p tmp/client
rsync -ar LICENSE dist tmp/client/
cd tmp
zip -X -r client.zip client
cp -f client.zip client/dist/
- name: Upload by ftp
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.PNM_FTP_HOST }}
username: ${{ secrets.PNM_FTP_USER }}
password: ${{ secrets.PNM_FTP_PASSWORD }}
local-dir: "./dist/"
local-dir: "./tmp/client/dist/"
server-dir: "./design-v2/"
state-name: ".v2-sync-state.json"

0 comments on commit b9e12c7

Please sign in to comment.