Skip to content

Commit

Permalink
added postgres service into github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobueno committed Oct 5, 2023
1 parent 911686a commit 98ec2c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest

services:
postgres:
image: postgres:latest
ports:
- 5432:5432
env:
POSTGRES_USER: abcde
POSTGRES_PASSWORD: abcde
POSTGRES_DB: abcde

steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down

0 comments on commit 98ec2c6

Please sign in to comment.