Skip to content

Commit 472cdc3

Browse files
authored
Merge pull request #258 from circleci/deploy-to-docs-folder
chore: update docs URL from /docs-preview to /docs across configuration files
2 parents ccd5aee + d6fa4a0 commit 472cdc3

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ jobs:
210210
BUILD_DIRECTORY=<< parameters.build_dir >>
211211
212212
echo "[INFO] Deploying production site..."
213-
aws s3 sync "$BUILD_DIRECTORY" "s3://$AWS_S3_BUCKET/"
213+
aws s3 sync "$BUILD_DIRECTORY" "s3://$AWS_S3_BUCKET/" \
214+
--delete
214215
- run:
215216
name: Deploy Redirects to S3
216217
command: go run ./cmd/create-redirects "<< parameters.bucket_name >>"

antora-playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
site:
22
title: CircleCI Documentation
3-
url: https://circleci.com/docs-preview
3+
url: https://circleci.com/docs
44
robots: allow
55
keys:
66
cookiebot: a28b71f3-4d2e-4eac-93bc-34929948dd7d

cmd/create-redirects/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type options struct {
2525

2626
const (
2727
concurrency = 20
28-
docsPath = "docs-preview"
28+
docsPath = "docs"
2929
)
3030

3131
func main() {

cmd/validate-redirects/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
const (
2525
concurrency = 20
26-
docsPath = "docs-preview"
26+
docsPath = "docs"
2727
)
2828

2929
type options struct {

0 commit comments

Comments
 (0)