From e8709b9e93943c92e626c9556d40662c6cfd8976 Mon Sep 17 00:00:00 2001 From: Ricardo Band Date: Wed, 14 Jun 2023 12:25:13 +0200 Subject: [PATCH 1/3] Update release.yml --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76c4382..74f9529 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,7 @@ on: branches: - staging - production + pull_request: workflow_dispatch: jobs: From 70aa5b95963f7107cfd7d1084b63f400b6774702 Mon Sep 17 00:00:00 2001 From: Ricardo Band Date: Wed, 14 Jun 2023 12:26:08 +0200 Subject: [PATCH 2/3] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74f9529..60472e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,7 +98,7 @@ jobs: artifacts: release-staging-${{ env.timestamp }}.zip token: ${{ secrets.GITHUB_TOKEN }} - release: + production: needs: [ calendar ] runs-on: ubuntu-latest environment: production From fcf62570bf38f667b5b42889624c25a453ad12d5 Mon Sep 17 00:00:00 2001 From: Ricardo Band Date: Wed, 14 Jun 2023 12:26:41 +0200 Subject: [PATCH 3/3] Update convert_page.sh --- tools/convert_page.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/convert_page.sh b/tools/convert_page.sh index 61f93b1..f34bc5a 100755 --- a/tools/convert_page.sh +++ b/tools/convert_page.sh @@ -14,5 +14,4 @@ curl -s "https://berlin.ccc.de/api.php?action=query&prop=revisions&rvprop=conten | jq -r '.query.pages |..| objects|.["*"]' \ | sed '/null/d' \ | pandoc -f mediawiki -t markdown \ - >> content/$2/$page.md - + >> content/$2/$page.md