From 19bad45f703b6a5bd1b7e25a55fe331905b276b6 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Fri, 25 Oct 2024 17:08:28 -0400 Subject: [PATCH] Remove cname option --- .github/workflows/deploy-book.yaml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/deploy-book.yaml b/.github/workflows/deploy-book.yaml index 466432a..d4ff51a 100644 --- a/.github/workflows/deploy-book.yaml +++ b/.github/workflows/deploy-book.yaml @@ -18,11 +18,6 @@ on: required: false default: 'false' type: string - cname: - description: 'Custom domain name' - required: false - default: 'None' # This is just a flag for whether to ignore this input - type: string publish_dir: description: 'Publish dir for the action' required: false @@ -64,19 +59,7 @@ jobs: - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4 if: | - (github.ref == 'refs/heads/main' && inputs.cname == 'None') - with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages - folder: ${{ inputs.publish_dir }} - clean: true - clean-exclude: _preview/* # keep existing previews from other PRs - target-folder: ${{ inputs.destination_dir }} - - - name: Deploy to GitHub Pages with custom domain - uses: JamesIves/github-pages-deploy-action@v4 - if: | - (github.ref == 'refs/heads/main' && inputs.cname != 'None') + (github.ref == 'refs/heads/main') with: token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages @@ -84,4 +67,3 @@ jobs: clean: true clean-exclude: _preview/* # keep existing previews from other PRs target-folder: ${{ inputs.destination_dir }} - CNAME: ${{ inputs.cname }} # how can we set this for the new action?