Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Commit

Permalink
ci: install samdoran.caddy dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed Mar 12, 2021
1 parent b5c9a61 commit f6cace1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ jobs:
proxied: 0
token: "${{ secrets.CLOUDFLARE_TOKEN }}"
zone: "${{ secrets.CLOUDFLARE_ZONE }}"
- name: Install samdoran.caddy dependency
run: ansible-galaxy install samdoran.caddy,2.1.0
- uses: getstackhead/stackhead/actions/integration-test@next
with:
ipaddress: ${{ steps.setup_server.outputs.hcloud_server_created_ipv4 }}
Expand Down
4 changes: 2 additions & 2 deletions tasks/steps/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
- restart caddy
- name: Check content after provisioning
uri:
url: "http://{{ ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}"
url: "https://{{ ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0]) }}"
return_content: yes
register: uri_result
until: '"Caddy web server" in uri_result.content'
until: '"Caddy" in uri_result.content'
retries: 5
delay: 1

0 comments on commit f6cace1

Please sign in to comment.