A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
add a publish release step
jonaswinklera9d6e7f402cb
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4379f8abb..c26c0672f 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -82,7 +82,7 @@ jobs:name: frontend-compiledpath: src/documents/static/frontend/- release:+ build-release:needs: [frontend, documentation, tests]runs-on: ubuntu-20.04steps:@@ -143,6 +143,38 @@ jobs:name: releasepath: dist/paperless-ng.tar.xz+ publish-release:+ runs-on: ubuntu-latest+ needs: build-release+ steps:+ -+ name: Download Release Artifact+ uses: actions/download-artifact@v2+ with:+ name: release+ path: paperless-ng.tar.xz+ -+ name: Create Release+ id: create_release+ uses: actions/create-release@v1+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ with:+ tag_name: ${{ github.ref }}+ release_name: Paperless-ng ${{ github.ref }}+ draft: true+ prerelease: true+ -+ name: Upload Release Archive+ id: upload-release-asset+ uses: actions/upload-release-asset@v1+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ with:+ upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps+ asset_path: ./paperless-ng.tar.xz+ asset_name: paperless-ng-${{ github.ref }}.tar.xz+ asset_content_type: application/x-xz# build and push image to docker hub.build-docker-image: