Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Syntax3rror404 authored Jun 6, 2024
1 parent b999797 commit 6533935
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Ansible, terraform, packer, SSH runner for pipline tasks like tekton or just sim

For running as dev environment:
```
docker pull ghcr.io/syntax3rror404/ansible-runner:master
docker pull ghcr.io/syntax3rror404/ansible-runner:main
```

For running in github actions:
Expand Down Expand Up @@ -43,14 +43,14 @@ spec:
securityContext:
runAsNonRoot: true
runAsUser: 65532
image: ghcr.io/syntax3rror404/ansible-runner:master
image: ghcr.io/syntax3rror404/ansible-runner:main
script: |
packer --version
- name: show-ansible-version
securityContext:
runAsNonRoot: true
runAsUser: 65532
image: ghcr.io/syntax3rror404/ansible-runner:master
image: ghcr.io/syntax3rror404/ansible-runner:main
script: |
ansible --version
```
Expand All @@ -60,9 +60,9 @@ spec:
```
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
jobs:
deploy-nginx-config:
Expand All @@ -86,7 +86,7 @@ jobs:
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
- name: Update nginx config
run: ssh -i ~/.ssh/id_rsa [email protected] "sudo sh -c 'cd /root/dockersrv01/volumes/nginx/nginx_conf && git pull origin master && exit'"
run: ssh -i ~/.ssh/id_rsa [email protected] "sudo sh -c 'cd /root/dockersrv01/volumes/nginx/nginx_conf && git pull origin main && exit'"
- name: Redeploy nginx to apply config
run: ssh -i ~/.ssh/id_rsa [email protected] "sudo sh -c 'cd /root/dockersrv01 && docker-compose -f ./compose/NGINX_PROXY/docker-compose.yml down && docker-compose -f ./compose/NGINX_PROXY/docker-compose.yml up -d && exit'"
Expand Down

0 comments on commit 6533935

Please sign in to comment.