Skip to content

Commit c81dd90

Browse files
committed
auto deploy after build
1 parent a7a41ae commit c81dd90

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/image.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,13 @@ jobs:
4545
cache-to: type=gha,mode=max
4646
tags: ${{ steps.meta.outputs.tags }}
4747
labels: ${{ steps.meta.outputs.labels }}
48+
49+
deploy:
50+
if: github.repository_owner == 'lichess-org' && github.ref_name == github.event.repository.default_branch
51+
needs: build
52+
runs-on: ubuntu-latest
53+
steps:
54+
- name: deploy
55+
env:
56+
DEPLOY_WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }}
57+
run: curl -X POST $DEPLOY_WEBHOOK_URL

0 commit comments

Comments
 (0)