Unzip build to dir

This commit is contained in:
Piotr Rogowski 2023-08-25 12:58:10 +02:00
parent c719363065
commit 00f4f23e90
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ jobs:
});
const fs = require('fs');
fs.writeFileSync('${{github.workspace}}/build.zip', Buffer.from(download.data));
- run: unzip build.zip
- run: unzip build.zip -d build
- name: Deploy preview to Cloudflare Pages
uses: cloudflare/pages-action@v1