Skip to content

Commit

Permalink
Add deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Jacob committed Dec 27, 2023
1 parent 2522f72 commit 94d4543
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker
name: Build&Deploy

on:
push:
Expand Down Expand Up @@ -73,3 +73,14 @@ jobs:
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

deploy:
runs-on: ubuntu-latest
if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}

0 comments on commit 94d4543

Please sign in to comment.