Skip to content

Commit e624955

Browse files
CU-85zt0e0vw add script for building emails
1 parent 55f8cb2 commit e624955

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,5 @@ dmypy.json
136136
cache
137137

138138
static
139-
staticfiles
139+
staticfiles
140+
/emails/

scripts/build-emails.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# In order to use this script
4+
# machine should have installed:
5+
# - git
6+
# - node^16
7+
8+
cd ..
9+
git clone git@github.com:PROCOLLAB-github/emails.git
10+
cd emails || exit
11+
12+
npm ci
13+
npm run build
14+
15+
cd ..
16+
cp -R ./emails/dist ./email
17+
rm -rf ./emails

0 commit comments

Comments
 (0)