.
This commit is contained in:
@@ -11,22 +11,20 @@ jobs:
|
|||||||
image: git.limbosolutions.com/kb/ubuntu:act-latest
|
image: git.limbosolutions.com/kb/ubuntu:act-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Log in to git.limbosolutions.com docker registry
|
|
||||||
uses: docker/login-action@v3
|
- name: Checkout code
|
||||||
with:
|
uses: actions/checkout@v2
|
||||||
registry: git.limbosolutions.com
|
|
||||||
username: xxxx
|
- name: Set up SSH
|
||||||
password: xxx
|
run: |
|
||||||
# - name: Checkout code
|
echo "${{secrets.SSH_PRIVATE_KEY}}" > private_key.pem
|
||||||
# uses: actions/checkout@v2
|
chmod 600 private_key.pem
|
||||||
#
|
|
||||||
# - name: Set up SSH
|
- name: Run Ansible Playbook
|
||||||
# run: |
|
run: |
|
||||||
# echo "${{secrets.SSH_PRIVATE_KEY}}" > private_key.pem
|
docker run --rm -d \
|
||||||
# chmod 600 private_key.pem
|
git.limbosolutions.com/kb/ansible
|
||||||
#
|
|
||||||
# - name: Ansible Playbook
|
|
||||||
# env:
|
|
||||||
# ANSIBLE_HOST_KEY_CHECKING: False
|
# ANSIBLE_HOST_KEY_CHECKING: False
|
||||||
# ANSIBLE_BECOME_PASS: ${{secrets.ANSIBLE_BECOME_PASS}}
|
# ANSIBLE_BECOME_PASS: ${{secrets.ANSIBLE_BECOME_PASS}}
|
||||||
# run: |
|
# run: |
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
- ".gitea/workflows/**nginx**.yml"
|
- ".gitea/workflows/**nginx**.yml"
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: "homesrv01"
|
runs-on: "homesrv-deploy"
|
||||||
steps:
|
steps:
|
||||||
- name: Portainer stack nginx webhook
|
- name: Portainer stack nginx webhook
|
||||||
run: |
|
run: |
|
||||||
Reference in New Issue
Block a user