Daily Shaarli

All links of one day in a single page.

May 14, 2025

appleboy/scp-action: GitHub Action that copy files and artifacts via SSH.
  • uses: actions/upload-artifact@v4
    with:
    name: my-artifact
    path: world.txt

  • uses: actions/download-artifact@v4
    with:
    name: my-artifact
    path: distfiles

  • name: Copy artifact to server
    uses: appleboy/scp-action@v1
    with:
    host: ${{ secrets.HOST }}
    username: ${{ secrets.USERNAME }}
    key: ${{ secrets.KEY }}
    port: ${{ secrets.PORT }}
    source: distfiles/*
    target: your_server_target_folder_path