Skip to content

Commit

Permalink
publish config.json to ftp
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefbaranec committed Feb 6, 2025
1 parent d65fcb7 commit 45df8e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,8 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ env.DOCKER_HUB_NAMESPACE }}/${{ env.DOCKER_HUB_REPOSITORY }}

- name: Upload to FTP
run: |
curl -T config.json ftp.pdfix.net/update-service/v1/${{ env.DOCKER_HUB_NAMESPACE }}/${{ env.DOCKER_HUB_REPOSITORY }}/config.json --user "${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }}" --ftp-create-dirs

0 comments on commit 45df8e9

Please sign in to comment.