landingpage-go/.github/workflows/deploy.yml
Oliver G 1b5762a849
Initial commit: Vanity on Tour Linktree landing page
- Static HTML/CSS Linktree-style landing page
- Responsive design with dark theme
- Project showcase (StaySense, Expense Logbook, Blog, RSS-Bot)
- Social media links and contact information
- GitHub Actions workflow for automated deployment
- Complete documentation and setup instructions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-24 11:13:29 +01:00

29 lines
921 B
YAML

name: Deploy go.vanityontour.de
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install rsync
run: sudo apt-get update && sudo apt-get install -y rsync
- name: Setup SSH
shell: bash
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -p "${{ secrets.SSH_PORT }}" "${{ secrets.SSH_HOST }}" >> ~/.ssh/known_hosts
- name: Deploy via rsync
shell: bash
run: |
rsync -az --delete --exclude ".git/" --exclude ".github/" -e "ssh -p ${{ secrets.SSH_PORT }} -i ~/.ssh/id_ed25519" ./ "${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DEPLOY_PATH }}"