mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Move SFTP xfer to happen before attach to release. Seeing some SSL errors in the github-action-publish-binaries action.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -77,14 +77,6 @@ jobs:
|
||||
run: |
|
||||
mv pihole-FTL "${{ matrix.bin_name }}"
|
||||
sha1sum pihole-FTL-* > ${{ matrix.bin_name }}.sha1
|
||||
-
|
||||
name: Attach binaries to release
|
||||
if: ${{ github.event_name == 'release' }}
|
||||
uses: skx/github-action-publish-binaries@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
args: '${{ matrix.bin_name }}*'
|
||||
-
|
||||
name: Transfer Builds to Pi-hole server for pihole checkout
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
@@ -95,4 +87,12 @@ jobs:
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
source: "${{ matrix.bin_name }}*"
|
||||
target: "${{ steps.branch_name.outputs.OUTPUT_DIR }}"
|
||||
target: "${{ steps.branch_name.outputs.OUTPUT_DIR }}"
|
||||
-
|
||||
name: Attach binaries to release
|
||||
if: ${{ github.event_name == 'release' }}
|
||||
uses: skx/github-action-publish-binaries@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
args: '${{ matrix.bin_name }}*'
|
||||
Reference in New Issue
Block a user