diff --git a/.gitea/workflows/refresh.yaml b/.gitea/workflows/refresh.yaml index 35d5b99..69fefe3 100755 --- a/.gitea/workflows/refresh.yaml +++ b/.gitea/workflows/refresh.yaml @@ -46,15 +46,25 @@ jobs: if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root #---------------------------------------------- - # install your root project, if required + # install and run the project #---------------------------------------------- - name: Install package run: poetry install --no-interaction - name: Generate New Calendar Files run: poetry run generate-ics + #---------------------------------------------- + # publish artifacts and release + #---------------------------------------------- - name: Archive production artifacts uses: christopherhx/gitea-upload-artifact@v4 with: name: calendars path: | - output/ \ No newline at end of file + output/ + - name: Use Go Action + id: use-go-action + uses: actions/release-action@main + with: + files: |- + output/** + api_key: '${{secrets.RELEASE_TOKEN}}' \ No newline at end of file