mirror of
				https://github.com/jakejarvis/jarv.is.git
				synced 2025-11-04 10:30:11 -05:00 
			
		
		
		
	Create purge-artifacts.yml [skip ci]
This commit is contained in:
		
							
								
								
									
										15
									
								
								.github/workflows/purge-artifacts.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/purge-artifacts.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
name: Purge old artifacts
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  schedule:
 | 
			
		||||
  - cron: '0 9 * * 3'   # every Wednesday at 9 AM UTC == 5 AM EDT
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  purge-artifacts:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: kolpav/purge-artifacts-action@v1
 | 
			
		||||
      with:
 | 
			
		||||
        token: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
        expire-in: 0
 | 
			
		||||
		Reference in New Issue
	
	Block a user