@@ -5,7 +5,7 @@ import chalk from 'chalk';
55import type { ISession } from 'myst-cli-utils' ;
66import { writeFileToFolder } from 'myst-cli-utils' ;
77import { getGithubUrl } from '../../utils/github.js' ;
8- import { binaryName , readableName , npmPackageName } from '../../utils/whiteLabelling.js' ;
8+ import { npmBinaryName , readableName , npmPackageName } from '../../utils/whiteLabelling.js' ;
99import { checkFolderIsGit , checkAtGitRoot } from '../../utils/git.js' ;
1010
1111function createGithubPagesAction ( {
@@ -17,7 +17,7 @@ function createGithubPagesAction({
1717 defaultBranch ?: string ;
1818 isGithubIO ?: boolean ;
1919} ) {
20- return `# This file was created automatically with \`${ binaryName ( ) } init --gh-pages\` 🪄 💚
20+ return `# This file was created automatically with \`${ npmBinaryName ( ) } init --gh-pages\` 🪄 💚
2121# Ensure your GitHub Pages settings for this repository are set to deploy with **GitHub Actions**.
2222
2323name: ${ readableName ( ) } GitHub Pages Deploy
6161 - name: Install ${ readableName ( ) }
6262 run: npm install -g ${ npmPackageName ( ) }
6363 - name: Build HTML Assets
64- run: ${ binaryName ( ) } build --html
64+ run: ${ npmBinaryName ( ) } build --html
6565 - name: Upload artifact
6666 uses: actions/upload-pages-artifact@v3
6767 with:
7373}
7474
7575function createGithubCurvenoteAction ( { defaultBranch = 'main' } : { defaultBranch ?: string } ) {
76- return `# This file was created automatically with \`${ binaryName ( ) } init --gh-curvenote\` 🪄 💚
76+ return `# This file was created automatically with \`${ npmBinaryName ( ) } init --gh-curvenote\` 🪄 💚
7777
7878name: Curvenote Deploy
7979on:
0 commit comments