Skip to content

Commit 4add44f

Browse files
committed
Remote build doesn't work with env variables. Trying a simpler build process
1 parent 50fd40e commit 4add44f

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
lines changed

.github/workflows/functions-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Connect to serverless
1919
run: doctl serverless connect
2020
- name: Deploy function
21-
run: doctl serverless deploy dhrn-functions --remote-build
21+
run: doctl serverless deploy dhrn-functions
2222
env:
2323
MAILTRAP_API_KEY: ${{ secrets.MAILTRAP_API_KEY }}
2424
MAILTRAP_SENDER_ADDRESS: ${{ secrets.MAILTRAP_SENDER_ADDRESS }}
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
#!/bin/bash
2-
3-
set -e
4-
5-
virtualenv --without-pip virtualenv
6-
7-
pip install -r requirements.txt --target virtualenv/lib/python3.9/site-packages
2+
pip install -r requirements.txt
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
#!/bin/bash
2-
3-
set -e
4-
5-
virtualenv --without-pip virtualenv
6-
7-
pip install -r requirements.txt --target virtualenv/lib/python3.9/site-packages
2+
pip install -r requirements.txt
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
#!/bin/bash
2-
3-
set -e
4-
5-
virtualenv --without-pip virtualenv
6-
7-
pip install -r requirements.txt --target virtualenv/lib/python3.9/site-packages
2+
pip install -r requirements.txt

0 commit comments

Comments
 (0)