Skip to content

Commit

Permalink
disable automatic docker deploy. Upload artifacts only once on test b…
Browse files Browse the repository at this point in the history
…uild
  • Loading branch information
sdumetz committed Oct 24, 2024
1 parent bb723e8 commit 4b005fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@ jobs:
- name: build
run: npm run build-server
- uses: actions/upload-artifact@v4
with:
name: "server"
path: "source/server/dist"
if-no-files-found: error
retention-days: 1
- uses: actions/upload-artifact@v4
if: matrix.node-version == 16
with:
name: "server-files"
path: |
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,3 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: update docker service
run: >
docker -H ssh://github@${{ env.DEPLOY_HOST }}:22 service update
--with-registry-auth
--image ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ needs.docker-publish.outputs.digest }}
ecorpus_main
- name: check service status
run: >
curl -sSL --fail -H "Accept: application/json" -I http://${{ env.DEPLOY_HOST }}/api/v1/scenes

0 comments on commit 4b005fb

Please sign in to comment.