Skip to content

Commit

Permalink
feat: re-instate ci/cd deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Sep 2, 2024
1 parent 7160d55 commit a6b91e1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,19 @@ jobs:
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
push: true

deploy:
needs: [build, ship]
environment: app.prose.org
runs-on: ubuntu-latest

steps:
- name: Install Nomad
uses: hashicorp/setup-nomad@v1.0.0

- name: Request deployment to Nomad
env:
NOMAD_ADDR: ${{ vars.NOMAD_ADDR }}
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}
run: |
nomad var put -force nomad/jobs/prose-app-web IMAGE_TAG=${{ needs.build.outputs.tag }}

0 comments on commit a6b91e1

Please sign in to comment.