File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 20
20
- name : Install dependencies
21
21
uses : bahmutov/npm-install@v1
22
22
23
+ - name : Set up Python
24
+ uses : actions/setup-python@v2
25
+ with :
26
+ python-version : ' 3.x'
27
+
28
+ - name : Install Python dependencies
29
+ run : pip install requests
30
+
31
+ - name : Update contributors
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.NURU_TOKEN }}
34
+ run : python .github/scripts/update_contributors.py
35
+
23
36
- name : Build project
24
37
run : npm run docs:build
25
-
38
+
26
39
- name : Archive production files
27
40
run : |
28
41
zip -r production-files.zip .
56
69
port : ${{ secrets.PORT }}
57
70
source : distfiles/*
58
71
target : " ${{ secrets.TEMP_DIR }}"
59
-
72
+
60
73
- name : Going Live
61
74
62
75
with :
69
82
unzip distfiles/production-files.zip
70
83
rm -rf distfiles
71
84
rm -rf ${{ secrets.DEPLOY_DIR }}/*
72
- mv * ${{ secrets.DEPLOY_DIR }}
85
+ mv * ${{ secrets.DEPLOY_DIR }}
You can’t perform that action at this time.
0 commit comments