Skip to content

Commit

Permalink
feat: redis
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored and AbigailDeng committed Jul 17, 2024
1 parent 83f06b6 commit 1000ab0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ concurrency:
cancel-in-progress: false

jobs:
services:
# Label used to access the service container
redis:
# Docker Hub image
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379
# Build job
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1000ab0

Please sign in to comment.