We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d042d commit 7b7564dCopy full SHA for 7b7564d
.github/workflows/cd-prod.yml
@@ -22,6 +22,8 @@ name: CD pipeline for prod environment
22
23
on:
24
workflow_dispatch:
25
+ branches:
26
+ - main
27
28
jobs:
29
check-stg-last-run:
@@ -37,7 +39,7 @@ jobs:
37
39
const runs = await github.rest.actions.listWorkflowRuns({
38
40
owner: context.repo.owner,
41
repo: context.repo.repo,
- workflow_id: 'staging-deploy.yml', // nombre de tu workflow de staging
42
+ workflow_id: 'cd-stg.yml', # name of stg workflow yml
43
branch: 'main',
44
per_page: 1
45
});
.github/workflows/cd-stg.yml
@@ -19,6 +19,8 @@ on:
19
- main
20
21
deploy-to-stg:
0 commit comments