File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 43
43
# project_name: ${{ secrets.AWS_PROJECT }}
44
44
# s3_bucket: ${{ secrets.AWS_BUCKET }}
45
45
46
+ # Runs a set of commands using the runners shell; THIS DOESN'T WORK
47
+ - name : Run a multi-line script
48
+ run : |
49
+ #install PIP
50
+ python -m pip install --upgrade pip
51
+ #install all dependencies as defined by requirements.txt in the current directory
52
+ pip3 install -r requirements.txt -t .
53
+ #for installing invidividual modules
54
+ #pip3 install Flask -t .
55
+ #zip files into current directory
56
+ zip -r invalidate-cloudFront-cache.zip .
57
+
58
+ #for installing chrome
59
+ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
60
+ sudo dpkg -i google-chrome-stable_current_amd64.deb
61
+
62
+ #ensuring current working directory is accessible by the function--this might not be doing anything
63
+ export PATH=$PATH:$(pwd)
46
64
47
65
# Deploy lambda_function.py to AWS
48
66
- name : AWS Lambda Deploy
You can’t perform that action at this time.
0 commit comments