Files
homelab/.gitea/workflows/deploy.yml
Alex Frantz 3274500b6a
Some checks failed
Deploy Containers / Prepare (push) Failing after 10s
lol was that why
2025-07-29 20:07:59 -04:00

27 lines
652 B
YAML

name: Deploy Containers
on:
push:
branches:
- main
jobs:
deploy:
name: Prepare
runs-on: jade
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Deploy
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
ssh-add <(echo "${{ secrets.SSH_KEY }}")
echo "HOST *" > ~/.ssh/config
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt
./.gitea/scripts/deploy_containers.sh "${{ github.event.before }}" "${{ github.sha }}"