Skip to content

Commit 4906595

Browse files
committed
update github actions
u
1 parent d569030 commit 4906595

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

.github/workflows/produce_pod.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
perl webwork2/bin/dev_scripts/generate-ww-pg-pod.pl -v \
5252
--webwork-root=/home/runner/work/pg-docs/pg-docs/webwork2 \
5353
--pg-root=/home/runner/work/pg-docs/pg-docs/pg \
54-
--output-dir=pod
54+
--output-dir=pod \
55+
--base-url=https://openwebwork.github.io/pg-docs/pod/
5556
- name: remove pg and webwork code
5657
run: |
5758
rm -rf pg

.github/workflows/sample_problem_docs.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,19 @@ on:
1212
jobs:
1313
create-sample-problems:
1414
# The type of runner that the job will run on
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-24.04
1616

1717
# Steps represent a sequence of tasks that will be executed as part of the job
1818
steps:
19+
- name: Install Ubuntu dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y --no-install-recommends --no-install-suggests \
23+
cpanminus \
24+
pandoc \
25+
libmojolicious-perl \
26+
libyaml-libyaml-perl \
27+
libpandoc-wrapper-perl
1928
- name: Checkout pg-docs code
2029
uses: actions/checkout@v4
2130
with:
@@ -24,24 +33,15 @@ jobs:
2433
- name: Checkout PG code
2534
uses: actions/checkout@v4
2635
with:
27-
repository: pstaabp/pg
36+
repository: openwebwork/pg
2837
ref: PG-2.20
2938
path: pg
3039
persist-credentials: false
31-
- name: Install Ubuntu dependencies
32-
run: |
33-
sudo apt-get update
34-
sudo apt-get install -y --no-install-recommends --no-install-suggests \
35-
cpanminus \
36-
pandoc \
37-
libmojolicious-perl \
38-
libyaml-libyaml-perl \
39-
libpandoc-wrapper-perl
4040

4141
# Runs a set of commands using the runners shell
4242
- name: parse sample problems
4343
run: |
44-
perl pg/bin/parse-prob-doc.pl \
44+
perl pg/bin/parse-problem-doc.pl \
4545
--problem_dir=/home/runner/work/pg-docs/pg-docs/pg/doc/sample-problems \
4646
--out_dir=/home/runner/work/pg-docs/pg-docs/sample-problems \
4747
--pod_root=https://openwebwork.github.io/pg-docs/pod \

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
- name: Setup Pages
3535
uses: actions/configure-pages@v3
3636
- name: Upload artifact
37-
uses: actions/upload-pages-artifact@v4
37+
uses: actions/upload-pages-artifact@v3
3838
with:
3939
# Upload entire repository
4040
path: '.'
4141
- name: Deploy to GitHub Pages
4242
id: deployment
43-
uses: actions/deploy-pages@v2
43+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)