|
21 | 21 | runs-on: ubuntu-latest |
22 | 22 | permissions: |
23 | 23 | contents: write |
| 24 | + pull-requests: write |
| 25 | + issues: write |
24 | 26 | steps: |
25 | 27 | - name: Checkout code |
26 | 28 | uses: actions/checkout@v4 |
@@ -78,42 +80,38 @@ jobs: |
78 | 80 |
|
79 | 81 | - name: Create Release |
80 | 82 | if: github.event_name != 'workflow_dispatch' |
81 | | - uses: actions/create-release@v1 |
82 | 83 | env: |
83 | 84 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
84 | | - with: |
85 | | - tag_name: ${{ steps.version.outputs.version }} |
86 | | - release_name: Release ${{ steps.version.outputs.version }} |
87 | | - body: | |
88 | | - ## 🚀 GC-QA-RAG ${{ steps.version.outputs.version }} |
| 85 | + run: | |
| 86 | + gh release create ${{ steps.version.outputs.version }} \ |
| 87 | + --title "Release ${{ steps.version.outputs.version }}" \ |
| 88 | + --notes "## 🚀 GC-QA-RAG ${{ steps.version.outputs.version }} |
89 | 89 |
|
90 | | - ### 📦 Docker Images |
| 90 | + ### 📦 Docker Images |
91 | 91 |
|
92 | | - This release includes the following Docker images: |
| 92 | + This release includes the following Docker images: |
93 | 93 |
|
94 | | - - `${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-server:${{ steps.version.outputs.version }}` |
95 | | - - `${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-etl:${{ steps.version.outputs.version }}` |
96 | | - - `${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-frontend:${{ steps.version.outputs.version }}` |
| 94 | + - \`${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-server:${{ steps.version.outputs.version }}\` |
| 95 | + - \`${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-etl:${{ steps.version.outputs.version }}\` |
| 96 | + - \`${{ env.DOCKERHUB_USERNAME }}/${{ env.PROJECT_NAME }}-frontend:${{ steps.version.outputs.version }}\` |
97 | 97 |
|
98 | | - ### 🐳 Quick Deployment |
| 98 | + ### 🐳 Quick Deployment |
99 | 99 |
|
100 | | - ```bash |
101 | | - # Deploy ETL service using Docker Hub images |
102 | | - cd sources/gc-qa-rag-etl/deploy |
103 | | - # Edit docker-compose.dockerhub.yml file, uncomment environment variables and fill in your API keys |
104 | | - # Start ETL service |
105 | | - docker compose -f docker-compose.dockerhub.yml up -d |
| 100 | + \`\`\`bash |
| 101 | + # Deploy ETL service using Docker Hub images |
| 102 | + cd sources/gc-qa-rag-etl/deploy |
| 103 | + # Edit docker-compose.dockerhub.yml file, uncomment environment variables and fill in your API keys |
| 104 | + # Start ETL service |
| 105 | + docker compose -f docker-compose.dockerhub.yml up -d |
106 | 106 |
|
107 | | - # Deploy RAG service using Docker Hub images |
108 | | - cd sources/gc-qa-rag-server/deploy |
109 | | - # Edit docker-compose.dockerhub.yml file, uncomment environment variables and fill in your API keys |
110 | | - # Start RAG service |
111 | | - docker compose -f docker-compose.dockerhub.yml up -d |
112 | | - ``` |
| 107 | + # Deploy RAG service using Docker Hub images |
| 108 | + cd sources/gc-qa-rag-server/deploy |
| 109 | + # Edit docker-compose.dockerhub.yml file, uncomment environment variables and fill in your API keys |
| 110 | + # Start RAG service |
| 111 | + docker compose -f docker-compose.dockerhub.yml up -d |
| 112 | + \`\`\` |
113 | 113 |
|
114 | | - ### 📚 Documentation |
| 114 | + ### 📚 Documentation |
115 | 115 |
|
116 | | - - [Deployment Guide](https://grapecity-ai.github.io/gc-qa-rag/en/2-development-tutorial/1-docker-deployment/) |
117 | | - - [Project Documentation](https://grapecity-ai.github.io/gc-qa-rag/en/) |
118 | | - draft: false |
119 | | - prerelease: false |
| 116 | + - [Deployment Guide](https://grapecity-ai.github.io/gc-qa-rag/en/2-development-tutorial/1-docker-deployment/) |
| 117 | + - [Project Documentation](https://grapecity-ai.github.io/gc-qa-rag/en/)" |
0 commit comments