From 351741d11058343b6dd1805b8ab097a5eb0ae13e Mon Sep 17 00:00:00 2001 From: Idir Lankri Date: Mon, 17 Apr 2023 17:21:05 +0200 Subject: [PATCH 1/2] [ci][cleanup] Remove trailing whitespaces --- .github/workflows/siteupdate.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/siteupdate.yml b/.github/workflows/siteupdate.yml index af6193ca..2e68add5 100644 --- a/.github/workflows/siteupdate.yml +++ b/.github/workflows/siteupdate.yml @@ -2,7 +2,7 @@ name: Update Web site -# Controls when the action will run. +# Controls when the action will run. on: # Triggers the workflow on push or pull request events but only for the master branch push: @@ -34,12 +34,12 @@ jobs: with: ocaml-compiler: 4.14.0 - - name: Install HOW + - name: Install HOW run: | opam pin add -y html_of_wiki https://github.com/ocsigen/html_of_wiki.git git clone --depth 1 https://github.com/ocsigen/ocsigen.github.io.git __ocsigen.github.io mv __ocsigen.github.io/template how_template - + - name: Generate doc run: | export HOW_DOC=tutos From 006bde8debf6429cb19a001d06a82f54f4c3b879 Mon Sep 17 00:00:00 2001 From: Idir Lankri Date: Mon, 17 Apr 2023 17:22:02 +0200 Subject: [PATCH 2/2] [ci] Use the latest version of `JamesIves/github-pages-deploy-action` To fix the following warnings: https://github.com/ocsigen/tuto/actions/runs/6982254968. --- .github/workflows/siteupdate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/siteupdate.yml b/.github/workflows/siteupdate.yml index 2e68add5..9743ec35 100644 --- a/.github/workflows/siteupdate.yml +++ b/.github/workflows/siteupdate.yml @@ -53,7 +53,7 @@ jobs: echo '' > $HOW_OUT/index.html - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.0.0 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to. folder: _doc # The folder the action should deploy.