wordpress-activitypub-event.../.forgejo/workflows/release.yml
André Menrath 6a931e38a4
All checks were successful
/ upload-release (push) Successful in 4s
add step tot remove distignore files
2024-10-29 17:02:53 +01:00

27 lines
732 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@v2
with:
direction: upload
url: https://code.event-federation.eu
release-dir: dist/release
release-notes: "MY RELEASE NOTES"
token: ${{ secrets.GITHUB_TOKEN }}