Files
GoogleDriveManagement/.github/workflows/pushwiki.yml
Jay Lee 4d804177c4
Some checks failed
Push wiki / pushwiki (push) Has been cancelled
Build and test GAM / build (build, 1, Build Intel Ubuntu Jammy, ubuntu-22.04) (push) Has been cancelled
Build and test GAM / build (build, 10, Build x86_64 macOS 15, macos-15-intel) (push) Has been cancelled
Build and test GAM / build (build, 11, Build Arm MacOS 26, macos-26) (push) Has been cancelled
Build and test GAM / build (build, 12, Build Intel Windows, windows-2025) (push) Has been cancelled
Build and test GAM / build (build, 13, Build Arm Windows, windows-11-arm) (push) Has been cancelled
Build and test GAM / build (build, 2, Build Intel Ubuntu Noble, ubuntu-24.04) (push) Has been cancelled
Build and test GAM / build (build, 3, Build Arm Ubuntu Noble, ubuntu-24.04-arm) (push) Has been cancelled
Build and test GAM / build (build, 4, Build Arm Ubuntu Jammy, ubuntu-22.04-arm) (push) Has been cancelled
Build and test GAM / build (build, 5, Build Intel StaticX Legacy, ubuntu-22.04, yes) (push) Has been cancelled
Build and test GAM / build (build, 6, Build Arm StaticX Legacy, ubuntu-22.04-arm, yes) (push) Has been cancelled
Build and test GAM / build (build, 7, Build Intel MacOS, macos-13) (push) Has been cancelled
Build and test GAM / build (build, 8, Build Arm MacOS 14, macos-14) (push) Has been cancelled
Build and test GAM / build (build, 9, Build Arm MacOS 15, macos-15) (push) Has been cancelled
Build and test GAM / build (test, 14, Test Python 3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
Build and test GAM / build (test, 15, Test Python 3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Check for Google Root CA Updates / check-certs (push) Has been cancelled
Build and test GAM / merge (push) Has been cancelled
Build and test GAM / publish (push) Has been cancelled
Update pushwiki.yml
2025-09-23 14:59:18 -04:00

44 lines
1.2 KiB
YAML

name: Push wiki
permissions:
contents: write
on:
push:
paths:
- 'wiki/**'
workflow_dispatch:
jobs:
pushwiki:
runs-on: ubuntu-latest
steps:
- name: Checkout GAM source
run: |
# checkout via normal shell here
# so we're not authorized to actually make any changes
git clone https://github.com/GAM-team/GAM
- name: Checkout Wiki source
uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
with:
path: GAM.wiki
repository: GAM-team/GAM.wiki
persist-credentials: true
fetch-depth: 0
- name: Overwrite all Wiki repo files with /wiki from main git
run: |
# remove all wiki repo files so deletes work
rm -fv GAM.wiki/*.md
# copy all files from main GAM repo wiki folder
cp -fv GAM/wiki/*.md GAM.wiki/
- name: Commit Wiki changes
run: |
cd GAM.wiki
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A
git commit -m "[no ci] Push Wiki changes"
git status
git push