mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 19:07:54 +01:00
checkout main repo
This commit is contained in:
parent
8bf355e8bd
commit
b67043ac89
1 changed files with 8 additions and 3 deletions
11
.github/workflows/update_wiki.yml
vendored
11
.github/workflows/update_wiki.yml
vendored
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue