diff --git a/.gitea/workflows/archive.yaml b/.gitea/workflows/archive.yaml deleted file mode 100644 index 1474180..0000000 --- a/.gitea/workflows/archive.yaml +++ /dev/null @@ -1,13 +0,0 @@ -name: Create Archive -on: [push] -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Archive Release - uses: thedoctor0/zip-release@0.7.5 - with: - type: 'zip' - filename: 'release.zip' - exclusions: '*.git* /*node_modules/* .editorconfig' \ No newline at end of file diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml new file mode 100644 index 0000000..2df62e0 --- /dev/null +++ b/.gitea/workflows/release.yaml @@ -0,0 +1,19 @@ +on: + push: + tags: + - '*' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: release + id: release + uses: actions/release-action@main + with: + files: |- + ** + api_key: '${{secrets.RELEASE_TOKEN}}' \ No newline at end of file