reorganize it all
This commit is contained in:
parent
8427023b60
commit
acf19a6f0e
13
.github/workflows/update_examples.yml
vendored
13
.github/workflows/update_examples.yml
vendored
|
|
@ -27,13 +27,6 @@ jobs:
|
||||||
version: 'latest'
|
version: 'latest'
|
||||||
actions-cache-folder: 'emsdk-cache'
|
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)
|
- name: Build and run rexm tool (GNU Makefile)
|
||||||
# rexm should update all required files in raylib and even raylib.com repo,
|
# 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
|
# but not sure if it can do that from an Action, maybe it requires manual copy
|
||||||
|
|
@ -83,11 +76,9 @@ jobs:
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
- name: Push changes to raylib.com repo
|
- name: Push changes to raylib.com repo
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
|
git clone https://x-access-token:${{ secrets.RAYLIB_DOT_COM_REPO_TOKEN }}@github.com/$GITHUB_REPOSITORY_OWNER/raylib.com.git
|
||||||
cd "${{ github.workspace }}/../raylib.com"
|
cd raylib.com
|
||||||
git add examples
|
git add examples
|
||||||
git commit -m "Update web examples"
|
git commit -m "Update web examples"
|
||||||
git push origin
|
git push origin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user