From 568b82051dd60ab477902bba259705ab132a7fa0 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Fernadez Date: Tue, 16 Apr 2024 14:57:10 -0600 Subject: [PATCH] Clone wp post --- .github/{workflows => actions}/clone-post.yml | 0 .github/{workflows => actions}/upload_to_s3.yml | 0 .github/workflows/workflow_call_prod.yml | 4 ++-- .github/workflows/workflow_call_qa.yml | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename .github/{workflows => actions}/clone-post.yml (100%) rename .github/{workflows => actions}/upload_to_s3.yml (100%) diff --git a/.github/workflows/clone-post.yml b/.github/actions/clone-post.yml similarity index 100% rename from .github/workflows/clone-post.yml rename to .github/actions/clone-post.yml diff --git a/.github/workflows/upload_to_s3.yml b/.github/actions/upload_to_s3.yml similarity index 100% rename from .github/workflows/upload_to_s3.yml rename to .github/actions/upload_to_s3.yml diff --git a/.github/workflows/workflow_call_prod.yml b/.github/workflows/workflow_call_prod.yml index f7a4197..5e1d1dc 100644 --- a/.github/workflows/workflow_call_prod.yml +++ b/.github/workflows/workflow_call_prod.yml @@ -13,13 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone Post - uses: ./.github/workflows/clone-post.yml + uses: ./.github/actions/clone-post.yml with: environment: PROD postID: ${{ github.event.inputs.postID }} WORDPRESS_USERNAME: ${{ github.event.inputs.WORDPRESS_USERNAME }} WORDPRESS_PASSWORD: ${{ github.event.inputs.WORDPRESS_PASSWORD }} upload_to_s3: - uses: ./.github/workflows/upload_to_s3.yml + uses: ./.github/actions/upload_to_s3.yml needs: [clone_post] diff --git a/.github/workflows/workflow_call_qa.yml b/.github/workflows/workflow_call_qa.yml index a86bda8..0ca1baf 100644 --- a/.github/workflows/workflow_call_qa.yml +++ b/.github/workflows/workflow_call_qa.yml @@ -15,7 +15,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Clone Post - uses: ./.github/workflows/clone-post.yml + uses: ./.github/actions/clone-post.yml with: environment: QA postID: ${{ github.event.inputs.postID }} @@ -26,5 +26,5 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Clone Post - uses: ./.github/workflows/upload_to_s3.yml + uses: ./.github/actions/upload_to_s3.yml