Skip to content

Commit 0b8e746

Browse files
committed
warning for first time build and deploy
1 parent bcb708a commit 0b8e746

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

template-computo-python.qmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,16 @@ The file [.github/workflows/build_n_publish.yml](https://github.com/computorg/te
286286

287287
Once this is successful, you are ready to submit your manuscript to the [Computo submission platform](https://computo.scholasticahq.com/).
288288

289+
::: {.callout-warning}
290+
The first time, you possibly need to create the branch for the action to work. This can be done by running the following command from your computer, in your git repository:
291+
292+
```.bash
293+
quarto publish gh-pages
294+
```
295+
296+
Then, set the branch `gh-page` as the source of your github page, and trigger the action to check that everything works fine.
297+
:::
298+
289299
### What about CI and `conda`?
290300

291301
[The build and deploy process of our Computo quarto extension](https://github.com/computorg/computo-quarto-extension/blob/main/.github/workflows/build.yml) shows how `miniconda` can be set used in place of `venv`. The main striking difference is the use of a `environment.yml` file in place of `requirements.txt`.

0 commit comments

Comments
 (0)