Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Jan 9, 2025
1 parent f25378b commit 9bfbc43
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/profiles-initialize.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Initialize connection profiles

on:
workflow_dispatch:
workflow_dispatch:
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Cyberduck CLI
run: |
echo -e "deb https://s3.amazonaws.com/repo.deb.cyberduck.io stable 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 every connection profile revision to s3:/profiles.cyberduck.io
run: |
scripts/initialize-revisions.sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Cyberduck CLI
run: |
echo -e "deb https://s3.amazonaws.com/repo.deb.cyberduck.io stable 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 every connection profile revision to s3:/profiles.cyberduck.io
run: |
scripts/initialize-revisions.sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
18 changes: 9 additions & 9 deletions .github/workflows/profiles-sanity-check.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Sanity check profiles

on:
pull_request:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update
sudo apt-get install -y libplist-utils
- run: scripts/plist-test.sh .
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update
sudo apt-get install -y libplist-utils
- run: scripts/plist-test.sh .
44 changes: 22 additions & 22 deletions .github/workflows/profiles-sync.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Synchronize connection profiles

on:
workflow_dispatch:
push:
branches:
- main
paths:
- '*.cyberduckprofile'
workflow_dispatch:
push:
branches:
- main
paths:
- '*.cyberduckprofile'
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Cyberduck CLI
run: |
echo -e "deb https://s3.amazonaws.com/repo.deb.cyberduck.io stable 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 }}
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Cyberduck CLI
run: |
echo -e "deb https://s3.amazonaws.com/repo.deb.cyberduck.io stable 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 }}

0 comments on commit 9bfbc43

Please sign in to comment.