Skip to content

Clone wp post

Clone wp post #11

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

Check failure on line 23 in .github/workflows/workflow_call_prod.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/workflow_call_prod.yml

Invalid workflow file

invalid value workflow reference: no version specified
needs: [clone_post]