mirror of
				https://github.com/tormachris/cf-workers-status-page.git
				synced 2025-11-04 12:56:24 +01:00 
			
		
		
		
	init
This commit is contained in:
		
							
								
								
									
										21
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
name: Deploy
 | 
			
		||||
on:
 | 
			
		||||
  - repository_dispatch
 | 
			
		||||
jobs:
 | 
			
		||||
  deploy:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    timeout-minutes: 10
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
    - uses: actions/setup-node@v1
 | 
			
		||||
      with:
 | 
			
		||||
        node-version: 12
 | 
			
		||||
    - run: yarn install
 | 
			
		||||
    - run: yarn build
 | 
			
		||||
    - name: Publish
 | 
			
		||||
      uses: cloudflare/wrangler-action@1.2.0
 | 
			
		||||
      with:
 | 
			
		||||
        apiToken: ${{ secrets.CF_API_TOKEN }}
 | 
			
		||||
      env:
 | 
			
		||||
        CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
 | 
			
		||||
        IS_WORKER: true
 | 
			
		||||
		Reference in New Issue
	
	Block a user