diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index dfadde5..d73b3a8 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -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" \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b94059c..e54e1cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: