Skip to content

Commit

Permalink
update: add dispatch trigger event in delivery workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmandMeppa authored Feb 8, 2024
1 parent 50ac73d commit 37a8642
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- cd
repository_dispatch:
types: [start-build]

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -34,17 +36,6 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Print USERNAME
run: echo "USERNAME is ${{ github.actor }}"

- name: Check PAT
run: |
if [[ -z "${{ secrets.GITHUB_TOKEN }}" ]]; then
echo "PAT is not set."
else
echo "PAT is set."
fi
- name: Build container
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 37a8642

Please sign in to comment.