From e88fb933a9af23b2b17ea7d8039602cf453914bc Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:33:22 +0000 Subject: [PATCH 1/9] Update .gitea/workflows/pandoc.yaml --- .gitea/workflows/pandoc.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.gitea/workflows/pandoc.yaml b/.gitea/workflows/pandoc.yaml index dbb484c..d26d884 100644 --- a/.gitea/workflows/pandoc.yaml +++ b/.gitea/workflows/pandoc.yaml @@ -7,14 +7,3 @@ jobs: runs: [self-hosted, linux, x64, gpu] steps: - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - name: Iterate over all Markdown files to generate HTML - run: | - for markdown in *md - do - pandoc --embed-resources --standalone --css pandoc.css -o "${markdown}.html" "${markdown}" - done - - run: echo "This job's status is ${{ job.status }}." From 28089ff34f6a84df477af2510943fc8a6a1d1dbc Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:33:37 +0000 Subject: [PATCH 2/9] Update .gitea/workflows/pandoc.yaml --- .gitea/workflows/pandoc.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.gitea/workflows/pandoc.yaml b/.gitea/workflows/pandoc.yaml index d26d884..8c0f57d 100644 --- a/.gitea/workflows/pandoc.yaml +++ b/.gitea/workflows/pandoc.yaml @@ -1,9 +1,3 @@ name: Create HTML run-name: {{ gitea.actor }} published new files on: [push] - -jobs: - pandoc-the-markdown: - runs: [self-hosted, linux, x64, gpu] - steps: - - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." From 1f664cb5a2c94f9871ae10a36a9ea38eece2481f Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:33:58 +0000 Subject: [PATCH 3/9] Update .gitea/workflows/pandoc.yaml --- .gitea/workflows/pandoc.yaml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pandoc.yaml b/.gitea/workflows/pandoc.yaml index 8c0f57d..394c807 100644 --- a/.gitea/workflows/pandoc.yaml +++ b/.gitea/workflows/pandoc.yaml @@ -1,3 +1,19 @@ -name: Create HTML -run-name: {{ gitea.actor }} published new files +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file From d39a4e1de9f9878a5cf31e42dff9e3ff427d02c6 Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:34:48 +0000 Subject: [PATCH 4/9] Update .gitea/workflows/pandoc.yaml --- .gitea/workflows/pandoc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pandoc.yaml b/.gitea/workflows/pandoc.yaml index 394c807..a0f7095 100644 --- a/.gitea/workflows/pandoc.yaml +++ b/.gitea/workflows/pandoc.yaml @@ -4,7 +4,7 @@ on: [push] jobs: Explore-Gitea-Actions: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" From a9d10b596835d0501049300143be0d3429fa0e97 Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:36:48 +0000 Subject: [PATCH 5/9] Update .gitea/workflows/pandoc.yaml --- .gitea/workflows/pandoc.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.gitea/workflows/pandoc.yaml b/.gitea/workflows/pandoc.yaml index a0f7095..454cc01 100644 --- a/.gitea/workflows/pandoc.yaml +++ b/.gitea/workflows/pandoc.yaml @@ -7,13 +7,3 @@ jobs: runs-on: self-hosted steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v4 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file From 1c4a2e8865a3fccb0f091bd96f68dd9f4a714402 Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:40:09 +0000 Subject: [PATCH 6/9] Update .gitea/workflows/pandoc.yaml --- .gitea/workflows/pandoc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pandoc.yaml b/.gitea/workflows/pandoc.yaml index 454cc01..4614c94 100644 --- a/.gitea/workflows/pandoc.yaml +++ b/.gitea/workflows/pandoc.yaml @@ -1,4 +1,4 @@ -name: Gitea Actions Demo +name: Create HTML run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] From 6945d95c9b5a879dd885778e9b78839350ab4089 Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:42:14 +0000 Subject: [PATCH 7/9] Update .gitea/workflows/pandoc.yaml --- .gitea/workflows/pandoc.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pandoc.yaml b/.gitea/workflows/pandoc.yaml index 4614c94..0acb14c 100644 --- a/.gitea/workflows/pandoc.yaml +++ b/.gitea/workflows/pandoc.yaml @@ -1,9 +1,20 @@ name: Create HTML -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +run-name: ${{ gitea.actor }} published new files on: [push] jobs: - Explore-Gitea-Actions: - runs-on: self-hosted + pandoc-the-markdown: + runs: [self-hosted, linux, x64, gpu] steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." + - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." + - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - name: Iterate over all Markdown files to generate HTML + run: | + for markdown in *md + do + pandoc --embed-resources --standalone --css pandoc.css -o "${markdown}.html" "${markdown}" + done + - run: echo "This job's status is ${{ job.status }}." From 608663ffa0bebb513488b589f8a98432a15da6b2 Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:43:41 +0000 Subject: [PATCH 8/9] Update .gitea/workflows/pandoc.yaml --- .gitea/workflows/pandoc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pandoc.yaml b/.gitea/workflows/pandoc.yaml index 0acb14c..b270d60 100644 --- a/.gitea/workflows/pandoc.yaml +++ b/.gitea/workflows/pandoc.yaml @@ -4,7 +4,7 @@ on: [push] jobs: pandoc-the-markdown: - runs: [self-hosted, linux, x64, gpu] + runs-on: [ self-hosted, linux, x64 ] steps: - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" From 59b0d4c79ecf0f717a1c026cfe570fc4f01f69bb Mon Sep 17 00:00:00 2001 From: Masin Al-Dujaili Date: Fri, 13 Sep 2024 13:48:50 +0000 Subject: [PATCH 9/9] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 349ea11..ff2f778 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -This git repository houses privacy declarations for something. It's used at https://www.wikimedia.de/extern/agb/DatenschutzerklrungfrdieNutzungsforschungbeiW.html which is deployed on our host WebServer. \ No newline at end of file +This git repository houses privacy declarations for something. It's used at https://www.wikimedia.de/extern/agb/DatenschutzerklrungfrdieNutzungsforschungbeiW.html which is deployed on our host WebServer. + +Trying to automatically generate HTML from MD. \ No newline at end of file