diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5208b37..fc34339 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -4,6 +4,8 @@ on: push: branches: - cd + repository_dispatch: + types: [start-build] env: REGISTRY: ghcr.io @@ -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: