From 480e1f802e2bf21656bb6393a3febbda472d7835 Mon Sep 17 00:00:00 2001 From: TeoAlex Date: Tue, 13 Aug 2024 14:52:44 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 37 ++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8ebc4395..431281f4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,19 +1,24 @@ name: Strong Testimonials Deploy + on: - push: - tags: - - '*' + push: + tags: + - '*' + jobs: - tag: - name: New tag - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Checkout submodules - run: git submodule update --init --recursive - - name: Strong Testimonials Deploy - uses: 10up/action-wordpress-plugin-deploy@stable - env: - SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - SVN_USERNAME: ${{ secrets.SVN_USERNAME }} - SLUG: strong-testimonials \ No newline at end of file + tag: + name: New tag + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: true # Inițializează și actualizează submodulele + token: ${{ secrets.GITHUB_TOKEN }} # Folosește token-ul GitHub pentru autentificare + fetch-depth: 0 # Asigură că obții întreaga istorie Git + + - name: Strong Testimonials Deploy + uses: 10up/action-wordpress-plugin-deploy@stable + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SLUG: strong-testimonials