Hi @luceos, first of all thank you for maintaining and operating Extiverse!
I have a question regarding syncing extensions; is it possible to create a GitHub Workflow which automatically syncs an extension with Extiverse if a new Tag is pushed to remote origin?
I tried something like this, but it I couldn't manage to get it working:
sync.yml
on:
push:
tags:
- '*'
name: Sync with Extiverse
jobs:
sync:
name: Sync Extiverse
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Sync with Extiverse
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.EXTIVERSE_API_TOKEN }}" \
https://extiverse.com/develop/premium-extensions/.../sync
Basically, the workflow is "successful" but the Server returns 405 Method Not Allowed
when viewing what happened in the step. For the secret I used a api:read
token, but as the name already suggests, this might be the wrong token.