From 06a5eb91bf1950081a9ed4f2a13a018118f0ce10 Mon Sep 17 00:00:00 2001 From: Felix Mildner Date: Thu, 20 Jul 2023 02:56:40 +0100 Subject: [PATCH 1/5] Create docs_to_pages --- .github/workflows/docs_to_pages | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/docs_to_pages diff --git a/.github/workflows/docs_to_pages b/.github/workflows/docs_to_pages new file mode 100644 index 00000000..fef47009 --- /dev/null +++ b/.github/workflows/docs_to_pages @@ -0,0 +1,44 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "photo_dev" branch + push: + branches: [ "photo_dev" ] + pull_request: + branches: [ "photo_dev" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - name: Checkout + uses: actions/checkout@v3 + - name: Build + uses: wuppersaver/ford-build@v1 + with: + project_file: /optados/ +# - name: Upload Static Elements +# uses: actions/upload-pages-artifact@v2 +# with: +# name: github-pages.tar.gz +# path: /optados/auto_doc/ + - name: Deploy to GitHub Pages + if: success() + uses: crazy-max/ghaction-github-pages@v3 + with: + target_branch: gh-pages + build_dir: /optados/auto_doc/ + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From db7e3aaa593832878f8f197ae21c6c3aa53600f3 Mon Sep 17 00:00:00 2001 From: Felix Mildner Date: Thu, 20 Jul 2023 02:57:33 +0100 Subject: [PATCH 2/5] Rename docs_to_pages to docs_to_pages.yml --- .github/workflows/{docs_to_pages => docs_to_pages.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{docs_to_pages => docs_to_pages.yml} (100%) diff --git a/.github/workflows/docs_to_pages b/.github/workflows/docs_to_pages.yml similarity index 100% rename from .github/workflows/docs_to_pages rename to .github/workflows/docs_to_pages.yml From a04e51ee30caf0f0cc4f226023ded9be875ba105 Mon Sep 17 00:00:00 2001 From: Felix Mildner Date: Thu, 20 Jul 2023 02:58:54 +0100 Subject: [PATCH 3/5] Update docs_to_pages.yml --- .github/workflows/docs_to_pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs_to_pages.yml b/.github/workflows/docs_to_pages.yml index fef47009..cd5fa7ea 100644 --- a/.github/workflows/docs_to_pages.yml +++ b/.github/workflows/docs_to_pages.yml @@ -25,7 +25,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout uses: actions/checkout@v3 - - name: Build + - name: built uses: wuppersaver/ford-build@v1 with: project_file: /optados/ @@ -34,7 +34,7 @@ jobs: # with: # name: github-pages.tar.gz # path: /optados/auto_doc/ - - name: Deploy to GitHub Pages + - name: Deploy to GitHub Pages if: success() uses: crazy-max/ghaction-github-pages@v3 with: From bdc3e0515d31e40b1f9d5e74c1636221f4cc77a0 Mon Sep 17 00:00:00 2001 From: Felix Mildner Date: Thu, 20 Jul 2023 02:59:47 +0100 Subject: [PATCH 4/5] Update docs_to_pages.yml --- .github/workflows/docs_to_pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs_to_pages.yml b/.github/workflows/docs_to_pages.yml index cd5fa7ea..91181f46 100644 --- a/.github/workflows/docs_to_pages.yml +++ b/.github/workflows/docs_to_pages.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: Docs to Pages # Controls when the workflow will run on: @@ -26,7 +26,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: built - uses: wuppersaver/ford-build@v1 + uses: wuppersaver/ford-build@v1.0 with: project_file: /optados/ # - name: Upload Static Elements From 83ef8717f66190762f65314fb6fa78adb2fb0558 Mon Sep 17 00:00:00 2001 From: Felix Mildner Date: Thu, 20 Jul 2023 03:07:46 +0100 Subject: [PATCH 5/5] Update docs_to_pages.yml --- .github/workflows/docs_to_pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs_to_pages.yml b/.github/workflows/docs_to_pages.yml index 91181f46..140914ad 100644 --- a/.github/workflows/docs_to_pages.yml +++ b/.github/workflows/docs_to_pages.yml @@ -39,6 +39,7 @@ jobs: uses: crazy-max/ghaction-github-pages@v3 with: target_branch: gh-pages - build_dir: /optados/auto_doc/ + build_dir: ./optados/auto_doc/ + verbose: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}