Skip to content

Test deployment trigger #2

Test deployment trigger

Test deployment trigger #2

name: CI
on:
push:
branches:
- feature/render-CD-demo
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
run: |
docker build -t ahmadsaeedgoda/ld_rr:render-auth-service -f Dockerfile.staging.uat .
docker push ahmadsaeedgoda/ld_rr:render-auth-service
- name: Trigger Render Deploy Hook
run: |
curl -X POST ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
# Test deployment trigger