mirror of
				https://github.com/NotAShelf/nyxexprs.git
				synced 2025-10-31 02:52:38 +00:00 
			
		
		
		
	CI: update npins daily
This commit is contained in:
		
					parent
					
						
							
								d559bb3c16
							
						
					
				
			
			
				commit
				
					
						ed05d582a8
					
				
			
		
					 1 changed files with 34 additions and 0 deletions
				
			
		
							
								
								
									
										34
									
								
								.github/workflows/update-pkgs.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								.github/workflows/update-pkgs.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,34 @@ | |||
| name: Update packages | ||||
| 
 | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|   schedule: | ||||
|     - cron: "0 0 * * *" # daily | ||||
| 
 | ||||
| jobs: | ||||
|   update: | ||||
|     if: github.repository == 'notashelf/nyxpkgs' | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
| 
 | ||||
|       - uses: DeterminateSystems/nix-installer-action@main | ||||
| 
 | ||||
|       - uses: cachix/cachix-action@v12 | ||||
|         with: | ||||
|           name: nyx | ||||
|           authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||||
| 
 | ||||
|       - name: Update npins | ||||
|         run: nix run nixpkgs#npins update | ||||
| 
 | ||||
|       - uses: stefanzweifel/git-auto-commit-action@v4 | ||||
|         with: | ||||
|           commit_message: "Update packages" | ||||
|           push_options: "--force" | ||||
| 
 | ||||
|   build: | ||||
|     needs: update | ||||
|     uses: ./.github/workflows/build.yml | ||||
|     secrets: inherit | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue