autoinstall/.forgejo/workflows/release.yaml
Tobias Reisinger b49d6a4c3a
Some checks failed
/ release (push) Failing after 23s
Split repos
2024-10-28 20:37:23 +01:00

32 lines
784 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 ./autoinstall /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 }}