Merge pull request #624 from AviatrixDev/sk-6.9-avx-50076-rn-update #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to External Docs Repo | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
name: Push to AviatrixSystems Docs | |
if: (${{github.repository}} == "AviatrixDev/Documentation") | |
steps: | |
- name: Install SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.DOCS_PRIVATE_KEY }} | |
known_hosts: ${{ secrets.DOCS_KNOWN_HOSTS }} | |
- uses: actions/checkout@v2 | |
with: | |
ref: 'main' | |
fetch-depth: 0 | |
- name: Git push | |
run: | | |
git remote add prod-doc [email protected]:AviatrixSystems/Docs.git | |
git push --force prod-doc main | |
env: | |
KEY_FILE : ${{secrets.DOCS_PRIVATE_KEY}} | |