Skip to content

Merge pull request #92 from iterate-ch/issue/91 #54

Merge pull request #92 from iterate-ch/issue/91

Merge pull request #92 from iterate-ch/issue/91 #54

Workflow file for this run

name: Synchronize connection profiles
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '*.cyberduckprofile'
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Cyberduck CLI
run: |
echo -e "deb https://s3.amazonaws.com/repo.deb.cyberduck.io nightly main" | sudo tee /etc/apt/sources.list.d/cyberduck.list > /dev/null
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FE7097963FEFBE72
sudo apt-get update
sudo apt-get -y install duck
- name: Upload changed connection profiles to s3:/profiles.cyberduck.io
run: |
scripts/sync-latest.sh .
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}