wordpress-activitypub-event.../.forgejo/workflows/release.yml
André Menrath 573c6bfa2a
Some checks failed
/ upload-release (push) Failing after 3s
use a release token secret
2024-10-29 15:54:56 +01:00

26 lines
698 B
YAML

on:
push:
tags: 'v*'
jobs:
upload-release:
runs-on: ubuntu-latest
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- name: Remove Files Listed in .distignore
run: |
if [ -f .distignore ]; then
while IFS= read -r line; do
if [ -n "$line" ] && [ "${line:0:1}" != "#" ]; then
rm -rf "$line"
fi
done < .distignore
fi
- uses: https://code.forgejo.org/actions/forgejo-release@v1
with:
direction: upload
url: https://code.forgejo.org
release-notes: "MY RELEASE NOTES"
token: ${{ secrets.FORGEJO_RELEASE_TOKEN }}