Use flyio/flyctl instead of downloading flyctl
This commit is contained in:
		
							parent
							
								
									be349ec9d9
								
							
						
					
					
						commit
						6b4e6e6436
					
				| 
						 | 
				
			
			@ -1,15 +1,11 @@
 | 
			
		|||
pipeline:
 | 
			
		||||
  deploy:
 | 
			
		||||
    image: alpine:latest
 | 
			
		||||
    image: flyio/flyctl:latest
 | 
			
		||||
    commands:
 | 
			
		||||
      - apk update && apk --no-cache add curl git
 | 
			
		||||
      - wget -O - https://fly.io/install.sh | sh
 | 
			
		||||
      - git clone https://codeberg.org/video-prize-ranch/fly-cfg.git
 | 
			
		||||
      - cd fly-cfg
 | 
			
		||||
      - /root/.fly/bin/flyctl deploy --detach
 | 
			
		||||
      - /flyctl deploy --detach --remote-only
 | 
			
		||||
    secrets: [fly_api_token]
 | 
			
		||||
 | 
			
		||||
depends_on:
 | 
			
		||||
  - build
 | 
			
		||||
 | 
			
		||||
skip_clone: true
 | 
			
		||||
skip_clone: true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue