Skip to content

Commit abbbf8f

Browse files
committed
build: adicionado script de build
1 parent 90807ff commit abbbf8f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package-lock.json
22
.DS_Store
33
node_modules
44
/dist
5-
build.sh
5+
66

77

88
# local env files

build.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env fish
2+
3+
npm run build &&
4+
cd ../digital-menu-build/ &&
5+
git init &&
6+
git add . &&
7+
git commit -m "deploy" &&
8+
git remote add origin https://github.com/pizzariacolosso/digital-menu.git &&
9+
git push --force "https://$GIT_USERNAME:$GIT_PASSWORD@github.com/pizzariacolosso/digital-menu.git" master &&
10+
cd ../ && rm -rf digital-menu-build/
11+

0 commit comments

Comments
 (0)