Skip to content

Commit

Permalink
Merge pull request #44 from prose-im/master
Browse files Browse the repository at this point in the history
feat: re-instate ci/cd deployments
  • Loading branch information
valeriansaliou authored Sep 2, 2024
2 parents cddfd0d + dc3c6c3 commit 0877e54
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,19 @@ jobs:
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
push: true

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

steps:
- name: Install Nomad
uses: hashicorp/[email protected]

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

0 comments on commit 0877e54

Please sign in to comment.