Skip to content

feat: add /capacity/pool and /capacity/pool/product endpoints (#130) #5

feat: add /capacity/pool and /capacity/pool/product endpoints (#130)

feat: add /capacity/pool and /capacity/pool/product endpoints (#130) #5

Workflow file for this run

name: Merge to dev
on:
push:
branches:
- dev
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
reset-release-candidate:
uses: NexusMutual/workflows/.github/workflows/reset.yml@master
with:
target-ref: release-candidate
base-ref: dev
environment: production
secrets:
DEPLOYER_APP_ID: ${{ secrets.DEPLOYER_APP_ID }}
DEPLOYER_APP_PK: ${{ secrets.DEPLOYER_APP_PK }}
bump:
needs: reset-release-candidate
uses: NexusMutual/workflows/.github/workflows/bump.yml@master
with:
ref: 'release-candidate'
bump-command: npm version patch --no-git-tag-version
environment: production
secrets:
DEPLOYER_APP_ID: ${{ secrets.DEPLOYER_APP_ID }}
DEPLOYER_APP_PK: ${{ secrets.DEPLOYER_APP_PK }}
build:
needs: bump
uses: NexusMutual/workflows/.github/workflows/build.yml@master
with:
ref: 'release-candidate'
environment: production
image: ${{ github.repository }}
secrets:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
tag-image:
needs: build
uses: NexusMutual/workflows/.github/workflows/tag-image.yml@master
with:
environment: production
image: ${{ github.repository }}
ref: 'release-candidate'
target-tag: ${{ github.ref_name == 'master' && 'latest' || 'staging' }}
secrets:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}