diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index 7e14f589e..cd9fe1329 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -32,14 +32,14 @@ jobs: bundler-cache: true - name: Build Jekyll site - run: bundle exec jekyll build + run: bundle exec jekyll build --baseurl /docs env: JEKYLL_ENV: production - name: Upload to AWS run: | aws sts get-caller-identity - aws s3 sync ./_site s3://qlikhelp-stitch --delete + aws s3 sync ./_site/docs s3://qlikhelp-stitch/docs --delete # aws cloudfront create-invalidation --distribution-id ECSW2C236F46Q --paths "/*" - name: Upload build artifact @@ -47,3 +47,6 @@ jobs: with: name: site path: _site/ + + - name: Done + run: echo "::notice https://stitch.qlik.click/" diff --git a/.github/workflows/build-preview.yml b/.github/workflows/build-preview.yml index e0e7b11a6..d7c5fe608 100644 --- a/.github/workflows/build-preview.yml +++ b/.github/workflows/build-preview.yml @@ -14,7 +14,7 @@ on: env: AWS_REGION: "us-east-1" - PREVIEW_DOMAIN: "dyokhwe5tb1zx.cloudfront.net" + PREVIEW_DOMAIN: "stitch-preview.qlik.click" PR_NUMBER: ${{ github.event.pull_request.number }} # ${{ github.event.inputs.pr }} concurrency: