From c8cdfcb4590aab2aa70921bf359921d8c53668ed Mon Sep 17 00:00:00 2001 From: Eugeniu David Date: Thu, 26 Aug 2021 11:38:50 +0200 Subject: [PATCH] SECURITY-4686: fix deploy condition Co-authored-by: David Szigecsan --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index a372050..dd4547d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -23,6 +23,6 @@ jobs: - name: Test run: composer test - name: Deploy - if: ${{ matrix.php-versions }} == '7.3' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') run: | curl -XPOST -f -H'content-type:application/json' "https://packagist.org/api/update-package?username=emartech&apiToken=${{secrets.PACKAGIST_API_TOKEN}}" -d"{\"repository\":{\"url\":\"${{secrets.PACKAGIST_PACKAGE_URL}}\"}}" \ No newline at end of file