-
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.
- Loading branch information
1 parent
f5e1a56
commit 1a01fe4
Showing
3 changed files
with
36 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,7 @@ dist-ssr | |
*.sw? | ||
|
||
# Environment variables | ||
.env | ||
.env | ||
|
||
# Misc | ||
seng365-assignment2-omdb-vno16.zip |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
# Remove old zip | ||
if [ ! -f "seng365-assignment2-omdb-vno16.zip" ]; then | ||
rm seng365-assignment2-omdb-vno16.zip | ||
fi | ||
if [ ! -d "temp" ]; then | ||
rm -rf temp | ||
fi | ||
mkdir temp | ||
|
||
# Copy files | ||
cp -r src temp/src | ||
cp -r public temp/public | ||
cp package.json temp/package.json | ||
cp package-lock.json temp/package-lock.json | ||
cp .env temp/.env | ||
cp index.html temp/index.html | ||
cp postcss.config.js temp/postcss.config.js | ||
cp tailwind.config.js temp/tailwind.config.js | ||
cp tsconfig.json temp/tsconfig.json | ||
cp tsconfig.node.json temp/tsconfig.node.json | ||
cp vite.config.ts temp/vite.config.ts | ||
cp .gitignore temp/.gitignore | ||
|
||
# Zip | ||
zip -r seng365-assignment2-omdb-vno16.zip temp | ||
|
||
# Remove temp | ||
rm -rf temp |
1a01fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
omdb – ./
o-mdb.vercel.app
omdb-git-main-d-exclaimation.vercel.app
omdb-d-exclaimation.vercel.app
omdb.d-exclaimation.me