Skip to content

Commit 1e8d317

Browse files
ci(site): split site deploy config from release-please (#1494)
1 parent 91de5a7 commit 1e8d317

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/release_please.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
paths:
1313
- "**"
1414
- "!.github/workflows/site.yaml"
15-
- "!site/**"
1615

1716
jobs:
1817
create_release_pr:

.github/workflows/site_deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: site_deploy
33
on:
44
push:
55
tags:
6-
- "v[0-9]+.[0-9]+.[0-9]+*"
6+
- "site-v[0-9]+.[0-9]+.[0-9]+*"
77
workflow_dispatch:
88

99
jobs:

.release-please-config.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,17 @@
1818
"release-type": "dart",
1919
"changelog-path": "CHANGELOG.md",
2020
"version-file": "pubspec.yaml"
21+
},
22+
"site": {
23+
"release-type": "node",
24+
"changelog-path": "CHANGELOG.md",
25+
"component": "site",
26+
"include-component-in-tag": true,
27+
"pull-request-title-pattern": "chore(site): ${version}"
2128
}
2229
},
2330
"exclude-paths": [
2431
".github",
25-
"site",
2632
".release-please-manifest.json",
2733
".release-please-config.json",
2834
"CONTRIBUTING.md",

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
".": "1.0.0"
2+
".": "1.0.0",
3+
"site": "1.0.0"
34
}
4-

0 commit comments

Comments
 (0)