Roy Nilsson 0117c272fa Change from DockerHub to AWS public ECR
DockerHub now has a harsh limit on public pulls, thus changing the
container registry.
2025-10-22 01:49:45 +02:00
2023-12-21 11:55:51 +01:00
2023-12-21 11:55:51 +01:00

rsync deploy action

Example usage:

name: 'Build and deploy'
run-name: 'Build and Deploy'

on:
  push:
    branches:
      - main

jobs:
  deploy-blog:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout
      - name: Deploy files
        uses: https://git.roy.lv/actions/rsync-deploy-action # Full URL is Gitea Actions specific
        env:
          SSH_KEY: ${{ secrets.SSH_KEY }}
          RSYNC_SOURCE: ./*
          RSYNC_DESTINATION: /path/to/rsync/to/
          RSYNC_USERHOST: user@example.host
        with:
          rsync-arguments: --archive --compress --delete --verbose
          ssh-port: '22'
Description
No description provided
Readme 37 KiB
Languages
Shell 61.9%
Dockerfile 38.1%