-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (35 loc) · 1.08 KB
/
workflow_call_qa.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Clone Wordpress QA
on:
workflow_dispatch:
inputs:
postID:
required: true
type: string
description: "The ID of the post to clone"
default: "24531"
jobs:
clone_post:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Clone Post
uses: ./.github/workflows/clone-post.yml
with:
environment: QA
postID: ${{ github.event.inputs.postID }}
WORDPRESS_USERNAME: ${{ github.event.inputs.WORDPRESS_USERNAME }}
WORDPRESS_PASSWORD: ${{ github.event.inputs.WORDPRESS_PASSWORD }}
upload_to_s3:
runs-on: ubuntu-latest
needs: [clone_post]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Clone Post
uses: ./.github/workflows/upload_to_s3.yml
with:
environment: QA
postID: ${{ github.event.inputs.postID }}
WORDPRESS_USERNAME: ${{ github.event.inputs.WORDPRESS_USERNAME }}
WORDPRESS_PASSWORD: ${{ github.event.inputs.WORDPRESS_PASSWORD }}