We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3f7073 commit 764d1cfCopy full SHA for 764d1cf
.github/workflows/build_test_and_lint.yml renamed to .github/workflows/build_and_deploy.yml
@@ -58,3 +58,29 @@ jobs:
58
--health-timeout=5s
59
--health-retries=5
60
61
+ deploy:
62
+ needs: build-test-and-lint
63
+ if: github.ref == 'refs/heads/main'
64
+ runs-on: ubuntu-latest
65
+
66
+ steps:
67
+ - name: Checkout code
68
+ uses: actions/checkout@v3
69
70
+ - name: Install uv
71
+ uses: astral-sh/setup-uv@v5
72
73
+ - name: Set up SSH key
74
+ uses: webfactory/ssh-agent@v0.9.0
75
+ with:
76
+ ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
77
78
+ - name: Set up ssh
79
+ run: |
80
+ mkdir -p ~/.ssh
81
+ echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
82
+ chmod 600 ~/.ssh/id_ed25519
83
+ ssh-keyscan "internal.europython.eu" > ~/.ssh/known_hosts
84
85
+ - name: Run deployment
86
+ run: make deploy/app
.github/workflows/deploy.yml
0 commit comments