Skip to content

Commit

Permalink
add webhook for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Aug 16, 2024
1 parent 1c466db commit efcee26
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_push_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Build and publish demo image

on:
push:
# tags:
# - '*'

## GITHUB_TOKEN authentication
permissions:
Expand Down Expand Up @@ -37,10 +39,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# https://github.com/docker/setup-qemu-action#usage
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

# https://github.com/docker/login-action#docker-hub
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand All @@ -62,3 +60,6 @@ jobs:
ELABFTW_VERSION=demo
tags: |
elabftw/elabimg:demo
- name: Send request to webhook to trigger update of demo
run: curl -H 'X-Hook-Secret: ${{ secrets.HOOK_SECRET }}' ${{ secrets.HOOK_URL }}'

0 comments on commit efcee26

Please sign in to comment.