Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,29 @@ jobs:
--health-timeout=5s
--health-retries=5

deploy:
needs: build-test-and-lint
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Set up SSH key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}

- name: Set up ssh
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan "internal.europython.eu" > ~/.ssh/known_hosts

- name: Run deployment
run: make deploy/app
32 changes: 0 additions & 32 deletions .github/workflows/deploy.yml

This file was deleted.

Loading