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