forked from mirrors/amnezia-wg-easy
		
	npm-update-bot.yml: fixup clone 'wg-easy/wg-easy'
This commit is contained in:
		
							parent
							
								
									e39eef2a37
								
							
						
					
					
						commit
						8d8dd516dd
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/npm-update-bot.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/npm-update-bot.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -1,8 +1,6 @@
 | 
				
			||||||
name: NPM Update Bot 🤖
 | 
					name: NPM Update Bot 🤖
 | 
				
			||||||
 | 
					
 | 
				
			||||||
on:
 | 
					on:
 | 
				
			||||||
  push:
 | 
					 | 
				
			||||||
    branches: [ "wg-easy:master" ]
 | 
					 | 
				
			||||||
  schedule:
 | 
					  schedule:
 | 
				
			||||||
    - cron: "0 0 * * *"
 | 
					    - cron: "0 0 * * *"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,6 +24,8 @@ jobs:
 | 
				
			||||||
      - name: Bot 🤖 "Updating NPM Packages..."
 | 
					      - name: Bot 🤖 "Updating NPM Packages..."
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          npm install -g --silent npm-check-updates
 | 
					          npm install -g --silent npm-check-updates
 | 
				
			||||||
 | 
					          git clone --depth 1 --quiet https://github.com/wg-easy/wg-easy.git
 | 
				
			||||||
 | 
					          cd wg-easy
 | 
				
			||||||
          ncu -u
 | 
					          ncu -u
 | 
				
			||||||
          npm update
 | 
					          npm update
 | 
				
			||||||
          cd src
 | 
					          cd src
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue