From 68c6e522c33e6ac0c0f6d7a7159fe3f4f8151d17 Mon Sep 17 00:00:00 2001 From: Catalin Date: Mon, 9 Dec 2024 17:24:35 +0200 Subject: [PATCH 1/6] disable rclone jobs --- .github/workflows/gulp-build.yml | 102 +++++++++++++++---------------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/.github/workflows/gulp-build.yml b/.github/workflows/gulp-build.yml index 601a84b..f4b330b 100644 --- a/.github/workflows/gulp-build.yml +++ b/.github/workflows/gulp-build.yml @@ -68,54 +68,54 @@ jobs: branch: ${{ (github.base_ref || github.ref) }} github_token: ${{ secrets.GITHUB_TOKEN }} - # Job name - rclone-dev: - # Run after build - needs: build - - # Runner name - runs-on: ubuntu-latest - if: ${{ (github.event.release.target_commitish || github.ref_name) == 'dev' }} - - steps: - # Checkout to the branch to use the last (build) commit - - uses: actions/checkout@v2 - with: - ref: ${{ (github.event.release.target_commitish || github.ref_name) }} - - # rclone - - name: Copy files on dev - uses: wei/rclone@v1 - env: - RCLONE_CONFIG_HDX_TYPE: ${{ secrets.RCLONE_CONFIG_HDX_TYPE }} - RCLONE_CONFIG_HDX_HOST: ${{ secrets.RCLONE_CONFIG_HDX_HOST }} - RCLONE_CONFIG_HDX_USER: ${{ secrets.RCLONE_CONFIG_HDX_USER_DEV }} - RCLONE_CONFIG_HDX_PASS: ${{ secrets.RCLONE_CONFIG_HDX_PASS_DEV }} - with: - args: copy build HDX:${{ env.dest_path }} - - # Job name - rclone-prod: - # Run after build - needs: build - - # Runner name - runs-on: ubuntu-latest - if: ${{ (github.event.release.target_commitish || github.ref_name) == 'prod' }} - - steps: - # Checkout to the branch to use the last (build) commit - - uses: actions/checkout@v2 - with: - ref: ${{ (github.event.release.target_commitish || github.ref_name) }} - - # rclone - - name: Copy files on prod - uses: wei/rclone@v1 - env: - RCLONE_CONFIG_HDX_TYPE: ${{ secrets.RCLONE_CONFIG_HDX_TYPE }} - RCLONE_CONFIG_HDX_HOST: ${{ secrets.RCLONE_CONFIG_HDX_HOST }} - RCLONE_CONFIG_HDX_USER: ${{ secrets.RCLONE_CONFIG_HDX_USER_PROD }} - RCLONE_CONFIG_HDX_PASS: ${{ secrets.RCLONE_CONFIG_HDX_PASS_PROD }} - with: - args: copy build HDX:${{ env.dest_path }} +# # Job name +# rclone-dev: +# # Run after build +# needs: build +# +# # Runner name +# runs-on: ubuntu-latest +# if: ${{ (github.event.release.target_commitish || github.ref_name) == 'dev' }} +# +# steps: +# # Checkout to the branch to use the last (build) commit +# - uses: actions/checkout@v2 +# with: +# ref: ${{ (github.event.release.target_commitish || github.ref_name) }} +# +# # rclone +# - name: Copy files on dev +# uses: wei/rclone@v1 +# env: +# RCLONE_CONFIG_HDX_TYPE: ${{ secrets.RCLONE_CONFIG_HDX_TYPE }} +# RCLONE_CONFIG_HDX_HOST: ${{ secrets.RCLONE_CONFIG_HDX_HOST }} +# RCLONE_CONFIG_HDX_USER: ${{ secrets.RCLONE_CONFIG_HDX_USER_DEV }} +# RCLONE_CONFIG_HDX_PASS: ${{ secrets.RCLONE_CONFIG_HDX_PASS_DEV }} +# with: +# args: copy build HDX:${{ env.dest_path }} +# +# # Job name +# rclone-prod: +# # Run after build +# needs: build +# +# # Runner name +# runs-on: ubuntu-latest +# if: ${{ (github.event.release.target_commitish || github.ref_name) == 'prod' }} +# +# steps: +# # Checkout to the branch to use the last (build) commit +# - uses: actions/checkout@v2 +# with: +# ref: ${{ (github.event.release.target_commitish || github.ref_name) }} +# +# # rclone +# - name: Copy files on prod +# uses: wei/rclone@v1 +# env: +# RCLONE_CONFIG_HDX_TYPE: ${{ secrets.RCLONE_CONFIG_HDX_TYPE }} +# RCLONE_CONFIG_HDX_HOST: ${{ secrets.RCLONE_CONFIG_HDX_HOST }} +# RCLONE_CONFIG_HDX_USER: ${{ secrets.RCLONE_CONFIG_HDX_USER_PROD }} +# RCLONE_CONFIG_HDX_PASS: ${{ secrets.RCLONE_CONFIG_HDX_PASS_PROD }} +# with: +# args: copy build HDX:${{ env.dest_path }} From 4fb62766b8adfadb040eebe1e5c7a76be3fd9973 Mon Sep 17 00:00:00 2001 From: Catalin Date: Mon, 9 Dec 2024 17:24:55 +0200 Subject: [PATCH 2/6] update tweets url --- src/scripts/humdata.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/humdata.js b/src/scripts/humdata.js index 615143d..5836a58 100644 --- a/src/scripts/humdata.js +++ b/src/scripts/humdata.js @@ -105,7 +105,7 @@ $.ajax({ type: 'GET', cache: false, - url: '/custom-latest-tweets/', + url: '/custom-latest-tweets.json', success: function (data) { twitterDataReady(data); } From 1ecd9461813c4583653057c4ebca201e865a6948 Mon Sep 17 00:00:00 2001 From: Catalin Date: Mon, 9 Dec 2024 17:28:36 +0200 Subject: [PATCH 3/6] add trailing slash to home urls --- src/header.php | 2 +- src/page-templates/learning-path.php | 2 +- src/partials/elements.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/header.php b/src/header.php index 75e1885..9de2e3c 100644 --- a/src/header.php +++ b/src/header.php @@ -149,7 +149,7 @@ class="btn ocha-see-all">See all