Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,21 @@ 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
uses: actions/upload-artifact@v4
with:
name: site
path: _site/

- name: Done
run: echo "::notice https://stitch.qlik.click/"
2 changes: 1 addition & 1 deletion .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading