Skip to content

chore: implement new way of claiming all rewards #4085

chore: implement new way of claiming all rewards

chore: implement new way of claiming all rewards #4085

Workflow file for this run

name: prnet-actions
on:
pull_request:
types: [opened,reopened]
issue_comment:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: khan/pull-request-comment-trigger@master
id: check
with:
trigger: '/deploy'
- uses: actions/checkout@v1
if: steps.check.outputs.triggered == 'true'
- name: GitHub API Request
id: request
uses: octokit/[email protected]
with:
route: ${{ github.event.issue.pull_request.url }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: steps.check.outputs.triggered == 'true'
- uses: ./.github/actions/prnet
id: trigger
with:
action: 'deploy_prnet'
circleci_slug: 'gh/Taraxa-project/taraxa-node'
circle_token: '${{ secrets.CIRCLE_TOKEN }}'
pull_request: '${{ steps.request.outputs.data }}'
if: steps.check.outputs.triggered == 'true'
redeploy:
runs-on: ubuntu-latest
steps:
- uses: khan/pull-request-comment-trigger@master
id: check
with:
trigger: '/redeploy'
- uses: actions/checkout@v1
if: steps.check.outputs.triggered == 'true'
- name: GitHub API Request
id: request
uses: octokit/[email protected]
with:
route: ${{ github.event.issue.pull_request.url }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: steps.check.outputs.triggered == 'true'
- uses: ./.github/actions/prnet
id: trigger
with:
action: 'redeploy_prnet'
circleci_slug: 'gh/Taraxa-project/taraxa-node'
circle_token: '${{ secrets.CIRCLE_TOKEN }}'
pull_request: '${{ steps.request.outputs.data }}'
if: steps.check.outputs.triggered == 'true'
cleanup:
runs-on: ubuntu-latest
steps:
- uses: khan/pull-request-comment-trigger@master
id: check
with:
trigger: '/cleanup'
- uses: actions/checkout@v1
if: steps.check.outputs.triggered == 'true'
- name: GitHub API Request
id: request
uses: octokit/[email protected]
with:
route: ${{ github.event.issue.pull_request.url }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: steps.check.outputs.triggered == 'true'
- uses: ./.github/actions/prnet
id: trigger
with:
action: 'cleanup_prnet'
circleci_slug: 'gh/Taraxa-project/taraxa-node'
circle_token: '${{ secrets.CIRCLE_TOKEN }}'
pull_request: '${{ steps.request.outputs.data }}'
if: steps.check.outputs.triggered == 'true'