diff --git a/.gitea/workflows/static.yml b/.gitea/workflows/static.yml index 89a70a6..b83fb06 100644 --- a/.gitea/workflows/static.yml +++ b/.gitea/workflows/static.yml @@ -23,4 +23,18 @@ jobs: with: # Upload built files name: 'TeleSec-dist' - path: './dist' \ No newline at end of file + - name: "mkdir" + run: "mkdir -p _artifact" + - name: Download artifact + uses: actions/download-artifact@v3 + with: + name: 'TeleSec-dist' + path: _artifact + - name: "Zip app" + run: "zip build.py" + - name: Upload as release + uses: https://gitea.com/actions/release-action@main + with: + files: |- + _artifact/** + api_key: '${{secrets.TOKEN_PUSH_PLUS}}' \ No newline at end of file