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

21 lines
506 B
YAML
Raw Normal View History

2024-10-29 15:41:22 +01:00
on:
push:
2024-10-29 15:48:22 +01:00
tags: 'v*'
2024-10-29 15:41:22 +01:00
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
2024-10-29 17:02:53 +01:00
- name: Remove Files Listed in .distignore
2024-10-29 17:31:58 +01:00
run: rm -r tests
2024-10-29 17:02:53 +01:00
2024-10-29 16:07:04 +01:00
- uses: https://code.forgejo.org/actions/forgejo-release@v2
2024-10-29 15:41:22 +01:00
with:
direction: upload
2024-10-29 16:07:04 +01:00
url: https://code.event-federation.eu
release-dir: dist/release
release-notes: "MY RELEASE NOTES"
2024-10-29 16:09:46 +01:00
token: ${{ secrets.GITHUB_TOKEN }}