diff --git a/.gitea/workflows/build_linux_docker.yml b/.gitea/workflows/build_linux_docker.yml index 2e662f1c..9d20dcd3 100644 --- a/.gitea/workflows/build_linux_docker.yml +++ b/.gitea/workflows/build_linux_docker.yml @@ -51,13 +51,24 @@ jobs: nvm use 22 && yarn run build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel --publish never - - name: Publish artifacts - uses: christopherhx/gitea-upload-artifact@v4 + - name: Copy artifacts to output directory + run: > + mkdir output && + cp dist/element-desktop*.rpm dist/Element*.AppImage dist/element-desktop*.deb dist/element-desktop*.tar.xz dist/squirrel-windows/Element*.exe output/ + + #- name: Publish artifacts + # uses: christopherhx/gitea-upload-artifact@v4 + # with: + # name: element-desktop + # path: | + # output/ + + - name: Publish artifacts via FTP + uses: SamKirkland/FTP-Deploy-Action@v4.3.5 with: - name: element-desktop - path: | - dist/element-desktop*.rpm - dist/Element*.AppImage - dist/element-desktop*.deb - dist/element-desktop*.tar.xz - dist/squirrel-windows/Element*.exe + server: ${{ secrets.FTP_SERVER }} + username: ${{ secrets.FTP_USERNAME }} + password: ${{ secrets.FTP_PASSWORD }} + local-dir: ./output/ + server-dir: ./artifacts/element/ +