Skip to content

Commit 6407a29

Browse files
committed
reuse the conf dir
1 parent e819bfe commit 6407a29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# these directories will be empty until checkout, but they will be
2929
# populated by the time we restart the service
3030
- ${{ github.workspace }}/conf:/etc/rabbitmq
31-
- ${{ github.workspace }}/certs:/certs
31+
- ${{ github.workspace }}/conf:/certs
3232
ports:
3333
- 5552:5552
3434
- 5551:5551
@@ -54,7 +54,7 @@ jobs:
5454
env:
5555
CN: test-node
5656
- name: Make sure certs are readable by rabbitmq
57-
run: mkdir -p certs && cp tls-gen/basic/result/* certs/ && sudo chown -R 999:999 certs
57+
run: cp tls-gen/basic/result/* conf/ && sudo chown -R 999:999 conf
5858
- run: docker exec $(docker ps --filter ancestor=rabbitmq:3.13-rc-management -q) ls -l /certs
5959
- name: Restart RabbitMQ
6060
run: docker restart $(docker ps --filter ancestor=rabbitmq:3.13-rc-management -q)

0 commit comments

Comments
 (0)