mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-23 05:14:54 +01:00
ci(lua): push artifacts on our server
maybe consider luarocks in the future?
This commit is contained in:
parent
3973aace83
commit
404fa0f241
1 changed files with 13 additions and 0 deletions
13
.github/workflows/lua.yml
vendored
13
.github/workflows/lua.yml
vendored
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue