Skip to content

Commit 7b93304

Browse files
committed
Merge branch 'main' of github.com:electricbookworks/electric-book-deploy-workflow
2 parents cb0056c + 85af290 commit 7b93304

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/deploy.config.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
]
2121
},
2222
"media" : {
23-
"branches-comment": "Only live and staging branches will trigger these syncs. This is not configurable.",
2423
"region": "eu-west-2",
2524
"syncs": [
2625
{
@@ -34,8 +33,8 @@
3433
},
3534
"vercel": {
3635
"trigger": {
37-
"live": "https://api.vercel.com/v1/integrations/deploy/prj_3JQKhLSRlptDAqiKPWyuKMGhbaGG/LbOKWUxQpc",
38-
"staging": "https://api.vercel.com/v1/integrations/deploy/prj_3JQKhLSRlptDAqiKPWyuKMGhbaGG/gKusn6nGUb"
36+
"live": "https://api.vercel.com/v1/integrations/deploy/{IDs}",
37+
"staging": "https://api.vercel.com/v1/integrations/deploy/{IDs}"
3938
}
4039
}
41-
}
40+
}

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ Create `.github/workflows/deploy.config.json`:
6969
]
7070
},
7171
"media" : {
72-
"branches-comment": "Only live and staging branches will trigger these syncs. This is not configurable.",
7372
"region": "eu-west-2",
7473
"syncs": [
7574
{
@@ -92,9 +91,8 @@ Create `.github/workflows/deploy.config.json`:
9291

9392
In `deploy.config.json` configure the following:
9493

95-
1. The book server repo. This is an [Electric Book Server](https://github.com/electricbookworks/electric-book-server-template) instance (e.g. `core-book-server`) that serves projects from its `public` folder and is configured for its own continuous deployment.
96-
2. The S3 bucket to sync the built files to.
97-
3. Deployment configs to be used on all builds.
98-
4. The separate builds that need to be deployed. Each build has a deployment directory that will be pushed to the deployment repo's `public` directory. If the directory already exists, it will be replaced entirely by the new deployment. You can also configure build-specific configs for each.
99-
5. Media sync commands with S3.
100-
6. The Vercel deploy triggers. These are specific to the project and branch of the book server your project deploys to.
94+
1. The S3 bucket to sync the built files to.
95+
2. Deployment configs to be used on all builds.
96+
3. The separate builds that need to be deployed. Each build has a deployment directory that will be uploaded to the S3 bucket. If the directory already exists, it will be replaced entirely by the new deployment. You can also configure build-specific configs for each.
97+
4. Media sync commands with S3.
98+
5. The Vercel deploy triggers. These are specific to the project and branch of the book server your project deploys to.

0 commit comments

Comments
 (0)