File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 5959            ghcr.io/${{ steps.lowercase.outputs.repository_owner_lowercase }}/${{ secrets.DOCKER_IMAGE_NAME }}:prod 
6060cache-from : type=registry,ref=ghcr.io/${{ steps.lowercase.outputs.repository_owner_lowercase }}/${{ secrets.DOCKER_IMAGE_NAME }}:prod 
6161          cache-to : type=inline 
62+ 
63+   deployment :
64+     needs : [build-push] 
65+     runs-on : ubuntu-latest 
66+     if : always() && needs.build-push.result == 'success' 
67+ 
68+     steps :
69+       - name : Trigger PaaS deployment 
70+         run : | 
71+           curl -X 'POST' \ 
72+             '${{ secrets.PAAS_API_URL }}/application.deploy' \ 
73+             -H 'accept: application/json' \ 
74+             -H 'Content-Type: application/json' \ 
75+             -H 'x-api-key: ${{ secrets.PAAS_API_TOKEN }}' \ 
76+             -d '{ 
77+             "applicationId": "${{ secrets.PAAS_APPLICATION_ID }}" 
78+           }' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments