Skip to content

Commit

Permalink
Do not deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgroenwoldt committed Aug 18, 2024
1 parent 2019f13 commit 2b5ddcb
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/build_and_publish_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
BACKEND_IMAGE_NAME: ${{ github.repository }}-backend

jobs:
build-and-push-backend:
build-backend:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -37,21 +37,3 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: backend/Containerfile
update:
needs:
- build-and-push-backend
runs-on: ubuntu-latest
steps:
- name: Deploy backend
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
echo ${{ secrets.GITHUB_TOKEN }} | podman login ghcr.io -u ${{ secrets.USERNAME }} --password-stdin
podman pull ghcr.io/tomgroenwoldt/helix-editor-playground-backend:main
podman rm -f helix-editor-playground
cd helix-editor-playground && podman-compose up helix-editor-playground -d

0 comments on commit 2b5ddcb

Please sign in to comment.