fix(ci): use public playbooks repo
This commit is contained in:
parent
e774ef0794
commit
03df4c0c2b
13
.github/workflows/pipeline.yaml
vendored
13
.github/workflows/pipeline.yaml
vendored
@ -149,7 +149,7 @@ jobs:
|
|||||||
TARGET_HOST: ${{ needs.prep.outputs.target_host }}
|
TARGET_HOST: ${{ needs.prep.outputs.target_host }}
|
||||||
RUN_APPLY: ${{ needs.prep.outputs.run_apply }}
|
RUN_APPLY: ${{ needs.prep.outputs.run_apply }}
|
||||||
FRONTEND_IMAGE: ${{ needs.prep.outputs.image_ref }}
|
FRONTEND_IMAGE: ${{ needs.prep.outputs.image_ref }}
|
||||||
PLAYBOOKS_REPO: git@github.com:x-evor/playbooks.git
|
PLAYBOOKS_REPO: https://github.com/x-evor/playbooks.git
|
||||||
steps:
|
steps:
|
||||||
- name: Check Out Repository
|
- name: Check Out Repository
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
@ -164,17 +164,6 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install ansible
|
python -m pip install ansible
|
||||||
|
|
||||||
- name: Configure SSH For Playbooks Checkout
|
|
||||||
env:
|
|
||||||
PLAYBOOKS_REPO_SSH_KEY: ${{ secrets.PLAYBOOKS_REPO_SSH_KEY }}
|
|
||||||
run: |
|
|
||||||
mkdir -p ~/.ssh
|
|
||||||
chmod 700 ~/.ssh
|
|
||||||
printf '%s\n' "${PLAYBOOKS_REPO_SSH_KEY}" > ~/.ssh/id_ed25519
|
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
|
||||||
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
|
||||||
chmod 644 ~/.ssh/known_hosts
|
|
||||||
|
|
||||||
- name: Check Out Playbooks Repository
|
- name: Check Out Playbooks Repository
|
||||||
run: |
|
run: |
|
||||||
git clone "${PLAYBOOKS_REPO}" /tmp/playbooks
|
git clone "${PLAYBOOKS_REPO}" /tmp/playbooks
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user