Remove hardcoded services #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Develop | |
# only trigger on pull request closed events | |
on: | |
pull_request: | |
branches: | |
- develop | |
types: [ closed ] | |
jobs: | |
deploy: | |
# this job will only run if the PR has been merged | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- uses: actions/checkout@v3 | |
- name: Deploy develop | |
run: | | |
bash ./ci_scripts/docker-push.sh -t "develop" -p | |
shell: bash |