mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	actions: use npx package to change dns record.
This commit is contained in:
		
							parent
							
								
									339195f799
								
							
						
					
					
						commit
						e03c8ba263
					
				
					 1 changed files with 2 additions and 7 deletions
				
			
		
							
								
								
									
										9
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -29,11 +29,6 @@ jobs:
 | 
			
		|||
          path: ./dist
 | 
			
		||||
          service: infura
 | 
			
		||||
      - name: Update DNSLink
 | 
			
		||||
        run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs
 | 
			
		||||
        env:
 | 
			
		||||
          CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
 | 
			
		||||
          RECORD_DOMAIN: "kavin.rocks"
 | 
			
		||||
          RECORD_NAME: "_dnslink.piped-ipfs"
 | 
			
		||||
          CLOUDFLARE_TOKEN_ZONE_ID: ${{ secrets.CLOUDFLARE_TOKEN_ZONE_ID }}
 | 
			
		||||
        uses: textileio/cloudflare-update-dnslink@master
 | 
			
		||||
        with:
 | 
			
		||||
          cid: ${{ steps.ipfs-add.outputs.hash }}
 | 
			
		||||
          CF_API_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue