From 77dfe92fabacb6ddcc2cf7c2d649b988882bb80d Mon Sep 17 00:00:00 2001 From: Chris Vancoillie <1577675+eleshar@users.noreply.github.com> Date: Sun, 29 Dec 2024 18:23:34 +0200 Subject: [PATCH] Update push-deploy.yml Signed-off-by: Chris Vancoillie <1577675+eleshar@users.noreply.github.com> --- .github/workflows/push-deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-deploy.yml b/.github/workflows/push-deploy.yml index c48ba331..052ae98c 100644 --- a/.github/workflows/push-deploy.yml +++ b/.github/workflows/push-deploy.yml @@ -1,11 +1,8 @@ name: Deploy to WordPress.org on: - # Trigger on push with tags push: tags: - "*" - - # Trigger manually from GitHub Actions UI workflow_dispatch: jobs: @@ -18,6 +15,9 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + with: + fetch-depth: 0 + ref: ${{ github.ref }} # Step to fix the "dubious ownership" issue - name: Set safe directory for Git @@ -29,3 +29,4 @@ jobs: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SVN_USERNAME: ${{ secrets.SVN_USERNAME }} SLUG: tour-operator + TAG: ${{ github.ref_name }}