Skip to content

CD DEV

CD DEV #90

Workflow file for this run

name: CD DEV
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
workflow_run:
workflows: ["CI"]
branches:
- main
types:
- completed
jobs:
docker-master:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: "Recodive/Workflows/.github/workflows/CD Docker.yml@main"
with:
file: apps/master/Dockerfile
context: .
tags: premid/api-master
version: ${{ github.sha }}-${{ github.run_number }}
secrets:
GH_NPM_TOKEN: ${{ secrets.GH_NPM_TOKEN }}
permissions:
contents: read
packages: write
docker-worker:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: "Recodive/Workflows/.github/workflows/CD Docker.yml@main"
with:
file: apps/worker/Dockerfile
context: .
tags: premid/api-worker
version: ${{ github.sha }}-${{ github.run_number }}
secrets:
GH_NPM_TOKEN: ${{ secrets.GH_NPM_TOKEN }}
permissions:
contents: read
packages: write