Skip to content

Checkout repo and cd to root of it #2

Checkout repo and cd to root of it

Checkout repo and cd to root of it #2

Workflow file for this run

name: Deploy application to Aperture
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
jobs:
deploy-to-prod:
if: contains( github.ref, 'main')
runs-on: [self-hosted, deployment-runner]
container:
image: git.dbyte.xyz/distro/levant:latest
steps:
- uses: actions/checkout@v3
- name: Deploy to Nomad
run: cd $GITHUB_WORKSPACE && tools/deploy-prod.sh
deploy-to-review:
runs-on: [self-hosted, deployment-runner]
container:
image: git.dbyte.xyz/distro/levant:latest
steps:
- uses: actions/checkout@v3
- name: Deploy to Nomad
run: cd $GITHUB_WORKSPACE && tools/deploy-review.sh