1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

checkout main repo

This commit is contained in:
Jason Nagin 2024-07-09 09:41:38 -04:00 committed by GitHub
parent 8bf355e8bd
commit b67043ac89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,18 +12,23 @@ jobs:
permissions:
contents: write
steps:
- name: Install rsync
run: |
sudo apt install -y rsync
# Checkout Main Repo
- uses: actions/checkout@v2
# Checkout Wiki Repo
- uses: actions/checkout@v2
with:
repository: ${{github.repository}}.wiki
persist-credentials: true
path: wiki
ref: master
# Copy Docs
- name: Copy files
run: |
rsync -av --exclude='.git/*' ${GITHUB_WORKSPACE}/docs/ ${GITHUB_WORKSPACE}/wiki/
# Push Changes
- name: Push changes
run: |
cd ${GITHUB_WORKSPACE/wiki/