Skip to content

Commit

Permalink
Add .nojekyll file and update CNAME path in deploy-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
caioricciuti committed Oct 12, 2024
1 parent a5a26d1 commit 714ad50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@ jobs:
cd docs
npm run build
- name: Add .nojekyll file
run: touch docs/out/.nojekyll

- name: Create CNAME file
run: echo "ch-ui.caioricciuti.com" > docs/build/CNAME
run: echo "ch-ui.caioricciuti.com" > docs/out/CNAME

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
publish_dir: ./docs/out
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
user_email: "github-actions[bot]@users.noreply.github.com"
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ on:

jobs:
release:
# Add this condition to check for "no-release" in the commit message
if: "!contains(github.event.head_commit.message, 'no-release')"
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'no-release') }}
permissions:
contents: write # Allow pushing the tag
steps:
Expand Down

0 comments on commit 714ad50

Please sign in to comment.