Skip to content

Commit

Permalink
👷 Build to test on CI for PRs, update GitHub Actions (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Nov 25, 2022
1 parent df345e5 commit 6e41ee5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy Image
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Image
run: bash scripts/build.sh
env:
NAME: latest

0 comments on commit 6e41ee5

Please sign in to comment.