Skip to content

Commit 0a50c15

Browse files
authored
docs: Update index.md & publish-artifacts.yml (#615)
2 parents d3bc210 + 61ee0cd commit 0a50c15

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/publish-artifacts.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Checkout
3434
uses: actions/checkout@v4
3535
- name: Setup Pages
36-
uses: actions/configure-pages@v4
36+
uses: actions/configure-pages@v5
3737
- name: Build with Jekyll
3838
uses: actions/jekyll-build-pages@v1
3939
with:
@@ -42,20 +42,20 @@ jobs:
4242
# Not the default gh download-artifact action, which doesn't work
4343
# between workflows
4444
- name: Get previous artifact learn-ocaml-www
45-
uses: dawidd6/action-download-artifact@v8
45+
uses: dawidd6/action-download-artifact@v10
4646
with:
4747
workflow: ${{ github.event.workflow_run.workflow_id }}
4848
name: learn-ocaml-www
4949
path: artifacts/
5050
skip_unpack: true
5151
- name: Get previous artifact learn-ocaml-linux-x86_64
52-
uses: dawidd6/action-download-artifact@v8
52+
uses: dawidd6/action-download-artifact@v10
5353
with:
5454
workflow: ${{ github.event.workflow_run.workflow_id }}
5555
name: learn-ocaml-linux-x86_64
5656
path: artifacts/linux-x86_64
5757
- name: Get previous artifact learn-ocaml-darwin-x86_64
58-
uses: dawidd6/action-download-artifact@v8
58+
uses: dawidd6/action-download-artifact@v10
5959
with:
6060
workflow: ${{ github.event.workflow_run.workflow_id }}
6161
name: learn-ocaml-darwin-x86_64
@@ -67,7 +67,7 @@ jobs:
6767
tree -H . --noreport --dirsfirst -T 'Learn-ocaml latest development artifacts' --charset utf-8 -o index.html
6868
sudo chown -R root:root .
6969
- name: Upload artifact
70-
uses: actions/upload-pages-artifact@v2
70+
uses: actions/upload-pages-artifact@v3
7171

7272
# Deployment job
7373
deploy:
@@ -81,4 +81,4 @@ jobs:
8181
steps:
8282
- name: Deploy to GitHub Pages
8383
id: deployment
84-
uses: actions/deploy-pages@v3
84+
uses: actions/deploy-pages@v4

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Howtos
1717

1818
* [How to set up an environment to develop exercises?](https://github.com/ocaml-sf/learn-ocaml/blob/master/docs/howto-setup-exercise-development-environment.md)
1919
* [How to write exercises?](https://github.com/ocaml-sf/learn-ocaml/blob/master/docs/howto-write-exercises.md)
20+
* [How to include images in exercises?](https://github.com/ocaml-sf/learn-ocaml/blob/master/docs/howto-include-images-in-exercises.md)
2021
* [How to submit an exercise to the global corpus?](https://github.com/ocaml-sf/learn-ocaml/blob/master/docs/howto-submit-an-exercise.md)
2122
* [How to deploy an instance of Learn OCaml?](https://github.com/ocaml-sf/learn-ocaml/blob/master/docs/howto-deploy-a-learn-ocaml-instance.md)
2223
* [How to deploy Learn-OCaml statically?](https://github.com/ocaml-sf/learn-ocaml/blob/master/docs/howto-deploy-learn-ocaml-statically.md)

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Howtos
1717

1818
* [How to set up an environment to develop exercises?](./howto-setup-exercise-development-environment.md)
1919
* [How to write exercises?](./howto-write-exercises.md)
20+
* [How to include images in exercises?](./howto-include-images-in-exercises.md)
2021
* [How to submit an exercise to the global corpus?](./howto-submit-an-exercise.md)
2122
* [How to deploy an instance of Learn OCaml?](./howto-deploy-a-learn-ocaml-instance.md)
2223
* [How to deploy Learn-OCaml statically?](./howto-deploy-learn-ocaml-statically.md)

0 commit comments

Comments
 (0)