wordpress-activitypub-event.../.forgejo/workflows/release.yml

26 lines
642 B
YAML
Raw Normal View History

2024-10-29 15:41:22 +01:00
on:
push:
tags: '*'
jobs:
upload-release:
runs-on: ubuntu-latest
steps:
2024-10-29 15:43:49 +01:00
- uses: https://code.forgejo.org/actions/checkout@v4
2024-10-29 15:41:22 +01:00
- 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
2024-10-29 15:43:49 +01:00
- uses: https://code.forgejo.org/actions/forgejo-release@v1
2024-10-29 15:41:22 +01:00
with:
direction: upload
url: https://code.forgejo.org
release-notes: "MY RELEASE NOTES"