Skip to content

Commit b2772c0

Browse files
committed
[chore] update to correct urls
1 parent 883bc78 commit b2772c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Pull Request CI
22

33
env:
4-
PATH_PREFIX: /docs/pull-requests/${{ github.ref }}
4+
PATH_PREFIX: /docs/${{ github.ref }}
55
GATSBY_DEFAULT_MAIN_URL: https://staging.k6.io
6-
GATSBY_DEFAULT_DOC_URL: https://staging.k6.io/docs/pull-requests/${{ github.ref }}
6+
GATSBY_DEFAULT_DOC_URL: https://mdr-ci.staging.k6.io/docs/${{ github.ref }}
77
GATSBY_DEFAULT_BLOG_URL: https://k6.io/blog
88
GATSBY_DEFAULT_APP_URL: https://app.staging.k6.io
99

@@ -67,13 +67,13 @@ jobs:
6767
env:
6868
AWS_S3_BUCKET: ${{ secrets.PR_CI_AWS_S3_BUCKET }}
6969
SOURCE_DIR: public/
70-
DEST_DIR: docs/pull-requests/${{ github.ref }}
70+
DEST_DIR: docs/${{ github.ref }}
7171

7272
- name: Invalidate Cloudfront
7373
uses: chetan/[email protected]
7474
env:
7575
DISTRIBUTION: ${{ secrets.PR_CI_CLOUDFRONT_DISTRIBUTION_ID }}
76-
PATHS: '/docs/pull-requests/*'
76+
PATHS: '/docs/*'
7777

7878
- name: Post published URL to PR
7979
if: github.event.action == 'opened'

0 commit comments

Comments
 (0)