-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |