Skip to content

Commit

Permalink
Docker deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijsln committed Sep 11, 2023
1 parent d5b2be6 commit 9a9b5fd
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,16 @@ jobs:
- name: 'Update deployment using Docker Compose'
run: |
cd tailormap-viewer
docker compose config
docker compose up -d
- name: 'Create GitHub deployment'
if: success()
uses: chrnorm/deployment-action@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
environment-url: "https://${{ secrets.DEPLOY_HOST }}${{ env.BASE_HREF}}"
description: "Deployment for ${{ env.VERSION }}"
environment: ${{ env.VERSION }}
initial-status: success
ref: "${{ env.GITHUB_HEAD_REF }}"
# - name: 'Create GitHub deployment'
# if: success()
# uses: chrnorm/deployment-action@v2
# with:
# token: "${{ secrets.GITHUB_TOKEN }}"
# environment-url: "https://${{ secrets.DEPLOY_HOST }}${{ env.BASE_HREF}}"
# description: "Deployment for ${{ env.VERSION }}"
# environment: ${{ env.VERSION }}
# initial-status: success
# ref: "${{ env.GITHUB_HEAD_REF }}"

0 comments on commit 9a9b5fd

Please sign in to comment.