TIL we also set that in the workflow
							parent
							
								
									043f89eac0
								
							
						
					
					
						commit
						6decf98b1d
					
				| 
						 | 
				
			
			@ -27,7 +27,7 @@ jobs:
 | 
			
		|||
        DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
 | 
			
		||||
 | 
			
		||||
    - name: Deploy commit to DigitalOcean Spaces
 | 
			
		||||
      run: aws s3 sync ./dist s3://${{ secrets.SPACES_BUCKET }}/commits/available-images/${{ github.sha }} --endpoint=https://${{ secrets.SPACES_REGION }}.digitaloceanspaces.com --acl public-read --content-encoding utf8
 | 
			
		||||
      run: aws s3 sync ./dist s3://${{ secrets.SPACES_BUCKET }}/commits/nginxconfig/${{ github.sha }} --endpoint=https://${{ secrets.SPACES_REGION }}.digitaloceanspaces.com --acl public-read --content-encoding utf8
 | 
			
		||||
      env:
 | 
			
		||||
        AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }}
 | 
			
		||||
        AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue