Skip to content

Commit e66ce4c

Browse files
fix: myst and deploy.yml should only be init if website is not skipped
1 parent e26f72d commit e66ce4c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • src/afterpython/cli/commands

src/afterpython/cli/commands/init.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,15 @@ def init(ctx, yes, skip_website: bool):
7676

7777
init_afterpython()
7878

79-
init_myst()
80-
8179
if not skip_website:
8280
# TODO: init faq.yml
81+
init_myst()
8382
init_website()
83+
create_workflow("deploy")
8484

8585
# TODO: add type checking related stuff here
8686
init_py_typed()
8787

88-
create_workflow("deploy")
8988
create_workflow("ci")
9089

9190
if yes or click.confirm(

0 commit comments

Comments
 (0)