A mirror of my website's source code.

Merge Steps

by steve0greatness, Monday, 6 May 2024, 03:21:57 (1714965717), pushed by steve0greatness, Monday, 6 May 2024, 03:46:51 (1714967211)

Author identity: Steve0Greatness <steve0greatnessiscool@gmail.com>

94fa36a0cae0a69e248ba4a249279edb98d0697a

.gitlab-ci.yml

@@ -1,19 +1,14 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            image: busybox:latest
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        build:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          stage: build
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          image: python:latest
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          script:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            - python3 -m pip install -r requirements.txt
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            - python3 build.py gh-pages-deploy
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            pages:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              stage: deploy
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          image: python:latest
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              script:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                - echo "The site will be deployed to $CI_PAGES_URL"
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            - python3 build.py gh-pages-deploy
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            - python3 -m pip install -r requirements.txt
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              artifacts:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                paths:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                  - build
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          rules:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          only:
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            - pages