32 lines
789 B
YAML
32 lines
789 B
YAML
on:
|
|
push:
|
|
tags:
|
|
- v**
|
|
jobs:
|
|
release:
|
|
runs-on: docker
|
|
steps:
|
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
|
- id: install-dependencies
|
|
run: |
|
|
apt update
|
|
# TODO add pandoc for docs
|
|
apt install -y make ruby
|
|
gem install bashly
|
|
shell: bash
|
|
- id: run-bashly
|
|
run: |
|
|
make generate
|
|
#make docs
|
|
shell: bash
|
|
- id: prepare-release
|
|
run: |
|
|
mkdir /tmp/release
|
|
cp ./autostart-manage /tmp/release
|
|
#cp -r ./man1 /tmp/release
|
|
shell: bash
|
|
- uses: https://code.forgejo.org/actions/forgejo-release@v1
|
|
with:
|
|
direction: upload
|
|
release-dir: /tmp/release
|
|
token: ${{ github.token }}
|