From 33df61d9f9043d1fbe46257a647b222fe7a668ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nils=20m=C3=A5s=C3=A9n?= Date: Sat, 21 Nov 2020 17:43:14 +0100 Subject: [PATCH 1/3] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5cf14563..550aefb4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: # BRANCH: gh-pages # # # The folder the action should deploy. -# FOLDER: _site +# FOLDER: api # # # Automatically remove deleted files from the deploy branch # CLEAN: true @@ -40,4 +40,4 @@ jobs: - name: Upload documentation as artifact uses: actions/upload-artifact@v2 with: - path: _site + path: api From 3060a6a9fce2742f01320b0dfd46c631b90b391e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nils=20m=C3=A5s=C3=A9n?= Date: Sat, 21 Nov 2020 17:55:51 +0100 Subject: [PATCH 2/3] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 550aefb4e..911031f3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: # BRANCH: gh-pages # # # The folder the action should deploy. -# FOLDER: api +# FOLDER: docs/help/_site # # # Automatically remove deleted files from the deploy branch # CLEAN: true @@ -40,4 +40,4 @@ jobs: - name: Upload documentation as artifact uses: actions/upload-artifact@v2 with: - path: api + path: docs/help/_site From 121a5b483f07497270d06a913a2c90d02fc59059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nils=20m=C3=A5s=C3=A9n?= Date: Sat, 21 Nov 2020 18:03:35 +0100 Subject: [PATCH 3/3] Update release.yml --- .github/workflows/release.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 911031f3d..60d98ba9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,18 +24,14 @@ jobs: with: args: docs/help/docfx.json -# Disabled until know to be working -# - uses: JamesIves/github-pages-deploy-action@3.6.2 -# name: Publish documentation to Github Pages -# with: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# BRANCH: gh-pages -# -# # The folder the action should deploy. -# FOLDER: docs/help/_site -# -# # Automatically remove deleted files from the deploy branch -# CLEAN: true + - uses: JamesIves/github-pages-deploy-action@3.6.2 + name: Publish documentation to Github Pages + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages + FOLDER: docs/help/_site + TARGET_FOLDER: help + CLEAN: false - name: Upload documentation as artifact uses: actions/upload-artifact@v2