forked from layer5io/layer5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nikhil-Ladha <[email protected]>
- Loading branch information
1 parent
c8a69e1
commit bfe8ee4
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,12 @@ jobs: | |
run_id: ${{ github.event.workflow_run.id }} | ||
name: public-dir | ||
|
||
- name: Unzip Site | ||
run: | | ||
rm -rf ./public | ||
unzip public-dir.zip | ||
rm -f public-dir.zip | ||
- name: Deploy and Preview 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#! /usr/bin/env bash | ||
|
||
if [ -f public-dir.zip ]; then | ||
rm -rf public-dir.zip | ||
fi | ||
zip -r public-dir.zip ./public |