diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 94163af..c0b30ba 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -31,4 +31,12 @@ jobs: docker push git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}} docker build --build-arg SITE=rblicht -t git.riksolo.com/riksolo/eleventy-riksolo-com:latest-rblicht -t git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}-rblicht . docker push git.riksolo.com/riksolo/eleventy-riksolo-com:latest-rblicht - docker push git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}-rblicht \ No newline at end of file + docker push git.riksolo.com/riksolo/eleventy-riksolo-com:${{github.sha}}-rblicht + + - name: Trigger Compose Deploy + uses: https://github.com/fjogeleit/http-request-action@v1 + with: + url: ${{ vars.DOCKER_COMPOSE_DEPLOY_URL }} + method: 'POST' + customHeaders: '{"Content-Type": "application/json", "Authorization": "token ${{secrets.FORGEJO_TOKEN}}"}' + data: '{"ref": "${{forgejo.ref}}"}' \ No newline at end of file