42 lines
962 B
YAML
42 lines
962 B
YAML
name: Create packages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
package:
|
|
strategy:
|
|
matrix:
|
|
os_dist:
|
|
- os: debian
|
|
dist: buster
|
|
- os: debian
|
|
dist: bullseye
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Run packpack
|
|
env:
|
|
SMPFLAGS: -j4
|
|
OS: ${{ matrix.os_dist.os }}
|
|
DIST: ${{ matrix.os_dist.dist }}
|
|
DOCKER_REPO: iconzm/packpack
|
|
run: utils/packpack/startpackpack.sh
|
|
|
|
- name: Publish
|
|
uses: easingthemes/ssh-deploy@main
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ secrets.ZMREPO_SSH_KEY }}
|
|
ARGS: "-rltgoDzvO"
|
|
SOURCE: build/
|
|
REMOTE_HOST: ${{ secrets.ZMREPO_HOST }}
|
|
REMOTE_USER: ${{ secrets.ZMREPO_SSH_USER }}
|
|
TARGET: debian/master/mini-dinstall/incoming/
|