Skip to content

support: How to control the domain name (not a custom domain)? #916

@SilentImp

Description

@SilentImp

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your question

When I deploy GitHub pages, I get a domain name https://redesigned-bassoon-19zzy9p.pages.github.io/.
Is there any way to control redesigned-bassoon-19zzy9p part?
Make it predictable and dependent on variables.

Because next, I want to use https://github.com/marketplace/actions/github-checks to show some images from GitHub pages in summary. So I need to know the domain name.

Relevant links

Public repository:
YAML config:

      - name: Deploy
        uses: peaceiris/actions-gh-pages@v3
        if: success() || failure()
        with:
          personal_token: ${{ secrets.PRIVATE_KEY }}
          user_name: 'devfaculty'
          user_email: 'devfaculty@prjctr.com'
          publish_dir: ./
          force_orphan: true

YAML workflow:

Relevant log output

No response

Additional context.

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions