Skip to content

Commit 6121c02

Browse files
authored
tweak workflow (#955)
1 parent 5e97feb commit 6121c02

12 files changed

Lines changed: 23 additions & 11 deletions

.github/workflows/codespace-template.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
run: |
2929
python -m ensurepip
3030
python -m pip install --upgrade pip
31-
python -m pip install --upgrade pretext[all]
31+
python -m pip install --upgrade pretext
32+
python -m pretext --version
3233
3334
- name: pretext new hello
3435
shell: bash

pretext/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ def callback(actual_port: int) -> None:
970970
"--no-push",
971971
is_flag=True,
972972
required=False,
973-
help="Do not push to remote. Useful for CI/CD workflows or in case of authentication errors.",
973+
help="Commit output to gh-pages branch but do not push to GitHub. Useful in case of authentication errors.",
974974
)
975975
def deploy(
976976
ctx: click.Context,

pretext/resources/resource_hash_table.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,16 @@
104104
"installPandoc.sh": "a996c50dcc083be7f7f03e38976de0abc1bc7bede0f0b8cb61b4f8dd660a4071",
105105
"installLatex.sh": "9c530e389b443528eb1d0587bb7b7c7e8b83e590ab3bfc533f89b0cdd2dd711e",
106106
"installSage.sh": "239d8792b782486f79936abdaa7556d9a1899448a0c37335e1d4c7207becd8b0"
107+
},
108+
"2.16.1": {
109+
"project.ptx": "ac4c1327126f021006b2e043df35287e593c5c89de2f5d7bcc3e653227b46e0e",
110+
"codechat_config.yaml": "dd2a54caa22b056fd4442b39c230adb359e61a195fcad921c1733c5beea0f89f",
111+
".gitignore": "7df710ee93f2d5b67d3b90292f195b35c2053915eec3a4265a440585a2c94816",
112+
"devcontainer.json": "21c7b3bde8d88e2bd0956221d0f7b935c021738f6e078d9798831785326ffa4d",
113+
"pretext-cli.yml": "419d0487e446a6ec7d1c9a1f78c431dd7ac8f7e5fe683d772685110d1ca99e14",
114+
"installPretext.sh": "e6d198cad4402d18965fbbd7e40b05c4dc858b4d334536b3c00fc835a971e4e6",
115+
"installPandoc.sh": "1d73faa032b137af74dcb9fad2cbc4f70da3bf09a682f90cc213943d4e60710c",
116+
"installLatex.sh": "89fc36da1ac5bf3c79e70990d760f288b94afb71dac03f0651424efbf55663aa",
117+
"installSage.sh": "7f2b791271aaf21a0b6c742e9758d4f131b59216c261902fe43c8461143cb407"
107118
}
108119
}

templates/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was automatically generated with PreTeXt 2.15.3.
1+
# This file was automatically generated with PreTeXt 2.16.1.
22
# If you modify this file, PreTeXt will no longer automatically update it.
33
#
44
# Boilerplate list of files in a PreTeXt project for git to ignore

templates/codechat_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was automatically generated with PreTeXt 2.15.3.
1+
# This file was automatically generated with PreTeXt 2.16.1.
22
# If you modify this file, PreTeXt will no longer automatically update it.
33
#
44
#############################################################

templates/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file was automatically generated with PreTeXt 2.15.3.
1+
// This file was automatically generated with PreTeXt 2.16.1.
22
// If you modify this file, PreTeXt will no longer automatically update it.
33
//
44
//////////////////////////////////////////////////////////////

templates/installLatex.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# This file was automatically generated with PreTeXt 2.15.3.
3+
# This file was automatically generated with PreTeXt 2.16.1.
44
# If you modify this file, PreTeXt will no longer automatically update it.
55

66
# We use TinyTeX (https://yihui.org/tinytex/)

templates/installPandoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# This file was automatically generated with PreTeXt 2.15.3.
3+
# This file was automatically generated with PreTeXt 2.16.1.
44
# If you modify this file, PreTeXt will no longer automatically update it.
55

66
wget https://github.com/jgm/pandoc/releases/download/3.6.4/pandoc-3.6.4-1-amd64.deb -O pandoc.deb

templates/installPretext.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# This file was automatically generated with PreTeXt 2.15.3.
3+
# This file was automatically generated with PreTeXt 2.16.1.
44
# If you modify this file, PreTeXt will no longer automatically update it.
55

66
while fuser /var/lib/dpkg/lock >/dev/null 2>&1; do

templates/installSage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# This file was automatically generated with PreTeXt 2.15.3.
3+
# This file was automatically generated with PreTeXt 2.16.1.
44
# If you modify this file, PreTeXt will no longer automatically update it.
55

66
# Conda should already be installed in the codespace. We need to add the conda-forge channel

0 commit comments

Comments
 (0)