Skip to content

Commit

Permalink
feat(preview-pr): add workflow to preview PR on Netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
varl committed Jun 4, 2021
1 parent ece2bfc commit f0b2aed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ const projectConfigs = {
'workflows',
'dhis2-verify-lib.yml'
),
'workflow-preview-pr': path.join(
PROJECT_ROOT,
'.github',
'workflows',
'dhis2-preview-pr.yml'
),
},
lslint: path.join(PROJECT_ROOT, '.ls-lint.yml'),
}
Expand Down Expand Up @@ -99,6 +105,9 @@ const templateConfigs = {
'workflow-artifacts': url.parse(
'https://raw.githubusercontent.com/dhis2/workflows/master/ci/dhis2-artifacts.yml'
),
'workflow-preview-pr': url.parse(
'https://raw.githubusercontent.com/dhis2/workflows/master/ci/dhis2-preview-pr.yml'
),
},
lslint: path.join(TEMPLATE_DIR, 'ls-lint-base.yml'),
}
Expand Down

0 comments on commit f0b2aed

Please sign in to comment.