Skip to content

Commit

Permalink
Use custom domain 'packer.qubitpi.org' (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi authored Apr 28, 2024
1 parent 78f6162 commit 3556882
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/doc-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ jobs:
cd hashicorp-packer-docs/
touch .nojekyll
echo "packer.qubitpi.org" >> CNAME
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion website/scripts/website-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ REPO=$PRODUCT \
HASHI_ENV=project-preview \
LOCAL_CONTENT_DIR=$LOCAL_CONTENT_DIR \
CURRENT_GIT_BRANCH=$CURRENT_GIT_BRANCH \
PRODUCT_DOC_BASE_PATH=/hashicorp-packer \
PRODUCT_DOC_BASE_PATH="" \
npm run build:deploy-preview
2 changes: 1 addition & 1 deletion website/scripts/website-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ PREVIEW_FROM_REPO=$PRODUCT \
LOCAL_CONTENT_DIR=$LOCAL_CONTENT_DIR \
CURRENT_GIT_BRANCH=$CURRENT_GIT_BRANCH \
PREVIEW_MODE=$PREVIEW_MODE \
PRODUCT_DOC_BASE_PATH=/hashicorp-packer \
PRODUCT_DOC_BASE_PATH="" \
npm run start:local-preview

0 comments on commit 3556882

Please sign in to comment.