mirror of
https://github.com/coollabsio/coolify-docs.git
synced 2026-06-19 07:35:55 +00:00
Added new step on Github actions to trigger deployment on Coolify
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Build and Push Docker Image
|
||||
name: Production Deployment
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# Step 4: Build and push the Docker image for ARM Linux
|
||||
# Step 4: Build and push the Docker image for ARM Linux (Host server is ARM)
|
||||
- name: Build and Push Docker Image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@@ -40,3 +40,11 @@ jobs:
|
||||
tags: |
|
||||
ghcr.io/shadowarcanist/coolify-new-docs:latest
|
||||
platforms: linux/arm64
|
||||
|
||||
# Step 5: Tell Coolify to deploy the new image
|
||||
- name: Trigger Coolify Deployment
|
||||
if: success()
|
||||
run: |
|
||||
curl -X GET "${{ secrets.COOLIFY_API_URL }}" \
|
||||
-H "Authorization: Bearer ${{ secrets.COOLIFY_API_TOKEN }}" \
|
||||
-H "Content-Type: application/json"
|
||||
Reference in New Issue
Block a user