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