Skip to content

Update reward script & reward calculation #300

Update reward script & reward calculation

Update reward script & reward calculation #300

Workflow file for this run

name: Deploy
# only trigger on pull request closed events
on:
pull_request:
branches:
- develop
- master
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
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- uses: actions/checkout@v3
- name: deploy to docker
run: |
chmod +x ./ci_scripts/docker-push.sh
./ci_scripts/docker-push.sh -t ${GITHUB_REF##*/} -p
shell: bash