Skip to content

v1.2.8

v1.2.8 #44

Workflow file for this run

name: Production CI/CD
on:
release:
types: [released]
permissions:
actions: write
checks: write
contents: write
deployments: write
issues: write
discussions: write
packages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
jobs:
build:
uses: Monday-Morning/project-tahiti/.github/workflows/build.yml@main
with:
node_env: production
image_name: ${{ github.repository }}
registry: ghcr.io
context: .
dockerfile: ./Dockerfile
is_latest: true
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
env_vars: ${{ secrets.PROD_ENV }}
deploy:
needs: build
uses: Monday-Morning/project-tahiti/.github/workflows/deploy.yml@main
with:
node_env: production
ssh_host: mondaymorning.nitrkl.ac.in
ssh_username: mm
image_name: ${{ github.repository }}
registry: ghcr.io
secrets:
env_vars: ${{ secrets.PROD_ENV }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}