Skip to content

Commit

Permalink
Add pull request actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Mar 13, 2024
1 parent ac393e6 commit c76920a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Build and push packages
on:
push:
branches: [ "master" ]
pull_request:
types: [opened, reopened]

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -108,6 +110,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: [build_api, build_indexer]
if: github.event.pull_request.merged == true
steps:
- name: Deploy to the server
uses: appleboy/[email protected]
Expand Down

0 comments on commit c76920a

Please sign in to comment.