Compare commits
	
		
			No commits in common. "cac01f1dab087b8946b969d5783a5f4700b4ea2b" and "e882a8c0e80168ad301aa4d515b17c2b33ef84d9" have entirely different histories.
		
	
	
		
			cac01f1dab
			...
			e882a8c0e8
		
	
		
					 2 changed files with 4 additions and 17 deletions
				
			
		|  | @ -1,10 +1,5 @@ | |||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|     tags: | ||||
|       - "v*" | ||||
| on: ['push'] | ||||
| 
 | ||||
| jobs: | ||||
|   depoly: | ||||
|  | @ -31,19 +26,11 @@ jobs: | |||
|       - name: Build Dist | ||||
|         run: pnpm dist | ||||
| 
 | ||||
|       - name: Depoly to Preview | ||||
|       - name: Depoly to Cloudflare | ||||
|         uses: https://github.com/cloudflare/wrangler-action@v3 | ||||
|         with: | ||||
|           apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||||
|           accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||||
|           command: pages deploy --project-name=tututheapp dist | ||||
|         if: github.event.ref_type == 'branch' | ||||
| 
 | ||||
|       - name: Depoly to Production | ||||
|         uses: https://github.com/cloudflare/wrangler-action@v3 | ||||
|         with: | ||||
|           apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||||
|           accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||||
|           command: pages deploy --project-name=tututheapp dist --branch=production | ||||
|         if: github.event.ref_type == 'tag' | ||||
|         if: "env.GITHUB_REF_NAME == 'master'" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| { | ||||
|   "$schema": "https://json.schemastore.org/package", | ||||
|   "name": "tutu", | ||||
|   "version": "1.0.0", | ||||
|   "version": "0.1.0", | ||||
|   "description": "", | ||||
|   "private": true, | ||||
|   "type": "module", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue