remove dokploy webhook
This commit is contained in:
		
							parent
							
								
									f1dd3435bd
								
							
						
					
					
						commit
						2471523c4a
					
				@ -43,21 +43,21 @@ jobs:
 | 
			
		||||
      - name: Clean up unused docker networks
 | 
			
		||||
        run: docker network prune --force
 | 
			
		||||
 | 
			
		||||
      ## @todo depend on passing tests
 | 
			
		||||
      - name: Trigger Dokploy Deployment
 | 
			
		||||
        run: |
 | 
			
		||||
          curl -X POST \
 | 
			
		||||
            -H "Content-Type: application/json" \
 | 
			
		||||
            -H "x-gitea-event: Push Hook" \
 | 
			
		||||
          -d "{
 | 
			
		||||
            \"ref\": \"refs/heads/main\",
 | 
			
		||||
            \"after\": \"${GITHUB_SHA}\",
 | 
			
		||||
            \"commits\": [
 | 
			
		||||
              {
 | 
			
		||||
                \"id\": \"${GITHUB_SHA}\",
 | 
			
		||||
                \"message\": \"Deployment from Gitea Actions\",
 | 
			
		||||
                \"author\": { \"name\": \"${GITHUB_ACTOR}\" }
 | 
			
		||||
              }
 | 
			
		||||
            ]
 | 
			
		||||
          }" \
 | 
			
		||||
          "${{ secrets.WEBHOOK_URL }}"
 | 
			
		||||
      # ## @todo depend on passing tests
 | 
			
		||||
      # - name: Trigger Dokploy Deployment
 | 
			
		||||
      #   run: |
 | 
			
		||||
      #     curl -X POST \
 | 
			
		||||
      #       -H "Content-Type: application/json" \
 | 
			
		||||
      #       -H "x-gitea-event: Push Hook" \
 | 
			
		||||
      #     -d "{
 | 
			
		||||
      #       \"ref\": \"refs/heads/main\",
 | 
			
		||||
      #       \"after\": \"${GITHUB_SHA}\",
 | 
			
		||||
      #       \"commits\": [
 | 
			
		||||
      #         {
 | 
			
		||||
      #           \"id\": \"${GITHUB_SHA}\",
 | 
			
		||||
      #           \"message\": \"Deployment from Gitea Actions\",
 | 
			
		||||
      #           \"author\": { \"name\": \"${GITHUB_ACTOR}\" }
 | 
			
		||||
      #         }
 | 
			
		||||
      #       ]
 | 
			
		||||
      #     }" \
 | 
			
		||||
      #     "${{ secrets.WEBHOOK_URL }}"
 | 
			
		||||
 | 
			
		||||
@ -39,6 +39,8 @@ services:
 | 
			
		||||
        limits:
 | 
			
		||||
          cpus: "0.5"
 | 
			
		||||
          memory: 2G
 | 
			
		||||
    environment:
 | 
			
		||||
      CACHE_ROOT: /mnt/vfs/futureporn/our
 | 
			
		||||
 | 
			
		||||
  qbittorrent:
 | 
			
		||||
    image: gitea.futureporn.net/futureporn/qbittorrent-nox:latest
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user