Clone wp post #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clone Wordpress PROD | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
postID: | ||
required: true | ||
type: string | ||
description: "The ID of the post to clone" | ||
default: "27964" | ||
jobs: | ||
clone_post: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone Post | ||
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/actions/upload_to_s3.yml | ||
needs: [clone_post] | ||