From acf19a6f0e17f9eefc1c593570c71dd70ba3ef2e Mon Sep 17 00:00:00 2001 From: Johnny Cena Date: Wed, 20 Aug 2025 17:31:39 +0200 Subject: [PATCH] reorganize it all --- .github/workflows/update_examples.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index 9594683c7..53402ad05 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -26,14 +26,7 @@ jobs: with: version: 'latest' actions-cache-folder: 'emsdk-cache' - - - name: Clone raylib.com repo to update files - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git clone https://x-access-token:${{ secrets.RAYLIB_DOT_COM_REPO_TOKEN }}@github.com/$GITHUB_REPOSITORY_OWNER/raylib.com.git "${{ github.workspace }}/../raylib.com" - shell: bash - + - name: Build and run rexm tool (GNU Makefile) # rexm should update all required files in raylib and even raylib.com repo, # but not sure if it can do that from an Action, maybe it requires manual copy @@ -83,11 +76,9 @@ jobs: cd .. done - name: Push changes to raylib.com repo - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - - cd "${{ github.workspace }}/../raylib.com" + git clone https://x-access-token:${{ secrets.RAYLIB_DOT_COM_REPO_TOKEN }}@github.com/$GITHUB_REPOSITORY_OWNER/raylib.com.git + cd raylib.com git add examples git commit -m "Update web examples" git push origin