Skip to content

Commit f081dc0

Browse files
committed
Test LP connection
1 parent 749db4f commit f081dc0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/synchronize-launchpad.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Synchronize with Launchpad
66

77
on:
88
push:
9-
branches: [ master ]
9+
branches: [ master, test ]
1010
workflow_dispatch:
1111

1212
jobs:
@@ -28,13 +28,17 @@ jobs:
2828
host: bazaar.launchpad.net
2929
private-key: ${{ secrets.LAUNCHPAD_PRIVATE_KEY }}
3030

31+
- name: Verify access to launchpad
32+
# Will fail as no shells are allowed but verifies we can access LP
33+
run: ssh -v ${{ secrets.LAUNCHPAD_USER }}@bazaar.launchpad.net || true
34+
3135
- name: Synchronize bazaar and git
3236
run: |
3337
bzr init-repo bzr-repo
3438
(cd "$GITHUB_WORKSPACE" && git fast-export -M --all) | (cd bzr-repo && bzr fast-import -)
3539
3640
- name: Login to launchpad
37-
run: bzr launchpad-login ${{ secrets.LAUNCHPAD_USER }}
41+
run: bzr launchpad-login --verbose ${{ secrets.LAUNCHPAD_USER }}
3842

3943
- name: Upload to launchpad
4044
working-directory: bzr-repo/trunk

0 commit comments

Comments
 (0)