File tree Expand file tree Collapse file tree 6 files changed +13
-50
lines changed
Expand file tree Collapse file tree 6 files changed +13
-50
lines changed Original file line number Diff line number Diff line change 3333 - name : Install dependencies
3434 run : make install
3535
36- - name : Build the website
37- run : make build MODE=production
38-
3936 - name : Set up SSH key
4037 uses :
webfactory/[email protected] 4138 with :
4441 - name : ssh keyscan
4542 run : ssh-keyscan "static.europython.eu" > ~/.ssh/known_hosts
4643
47- - name : Deploy to server
44+ - name : Build and Deploy to server
45+ env :
46+ MODE : " production"
4847 run : make deploy FORCE_DEPLOY=true
Original file line number Diff line number Diff line change 3636 - name : Install dependencies
3737 run : make install
3838
39- - name : Build the website
40- env :
41- BRANCH : " ${{ env.GITHUB_BRANCH_NAME }}"
42- GIT_VERSION : " ${{ env.GITHUB_COMMIT_HASH }}"
43- MODE : " preview"
44- run : make build
45-
4639 - name : Set up SSH key
4740 uses :
webfactory/[email protected] 4841 with :
5144 - name : ssh keyscan
5245 run : ssh-keyscan "static.europython.eu" > ~/.ssh/known_hosts
5346
54- - name : Upload preview
47+ - name : Build and upload preview
5548 env :
5649 BRANCH : " ${{ env.GITHUB_BRANCH_NAME }}"
50+ GIT_VERSION : " ${{ env.GITHUB_COMMIT_HASH }}"
51+ MODE : " preview"
5752 run : make preview
5853
5954 - name : Get safe branch and export to env
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4848
4949preview : RELEASES_DIR = $(VPS_PREVIEW_PATH ) /$(SAFE_BRANCH ) /releases
5050preview : TARGET = $(RELEASES_DIR ) /$(TIMESTAMP )
51+ preview : build
5152preview :
5253 @echo " Preview site URL: $( PREVIEW_SITE_URL) "
5354 echo $(TARGET )
@@ -72,6 +73,7 @@ ls -1dt */ \
7273ifeq ($(FORCE_DEPLOY ) , true)
7374deploy : RELEASES_DIR = $(VPS_PROD_PATH ) /releases
7475deploy : TARGET = $(RELEASES_DIR ) /$(TIMESTAMP )
76+ deploy : build
7577deploy :
7678 @echo " \n\n**** Deploying branch '$( BRANCH) ' (safe: $( SAFE_BRANCH) ) to $( TARGET) ...\n\n"
7779 $(REMOTE_CMD ) " mkdir -p $( TARGET) "
Original file line number Diff line number Diff line change 198198 {
199199 "name" : " Jobs" ,
200200 "path" : " /jobs"
201+ },
202+ {
203+ "name" : " Discord" ,
204+ "path" : " https://discord.com/invite/BhTN2zJPMh"
201205 }
202206 ]
203207 },
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ footer {
8989
9090@media screen and (width>1200px){
9191 main {
92- margin-bottom:800px ;
92+ margin-bottom:90vh ;
9393 }
9494 footer {
9595 position: fixed;
You can’t perform that action at this time.
0 commit comments