ci(lua): push artifacts on our server

maybe consider luarocks in the future?
This commit is contained in:
əlemi 2024-09-10 02:06:57 +02:00
parent 3973aace83
commit 404fa0f241
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -37,3 +37,16 @@ jobs:
with:
name: codemp-lua-${{ matrix.platform.target }}
path: target/release/${{ matrix.platform.filename }}
publish:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/download-artifact@v4
with:
pattern: codemp-lua-*
- run: tree
- run: scp * dev@codemp.dev:/srv/http/codemp/files/releases/lua/