Compare commits

..

1 Commits

Author SHA1 Message Date
Rip&Tear
10b2603e14 Added new GitHub Action to release the docs as a package 2024-08-09 20:44:49 +08:00
3 changed files with 56 additions and 24 deletions

View File

@@ -1,24 +0,0 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: "[DOCS]"
labels: documentation
assignees: ''
---
## Documentation Page
<!-- Provide a link to the documentation page that needs improvement -->
## Description
<!-- Describe what needs to be changed or improved in the documentation -->
## Suggested Changes
<!-- If possible, provide specific suggestions for how to improve the documentation -->
## Additional Context
<!-- Add any other context about the documentation issue here -->
## Checklist
- [ ] I have searched the existing issues to make sure this is not a duplicate
- [ ] I have checked the latest version of the documentation to ensure this hasn't been addressed

View File

@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest a Feature to improve CrewAI
title: "[FEAT]"
labels: feature-request, improvement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
If possible attach the Issue related to it
**Describe the solution you'd like / Use-case**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

35
.github/workflows/docs-release.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Package and Release CrewAI Docs
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
create-docs-package:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Create Docs Tarball
run: tar -czvf docs.tar.gz docs/
- name: Generate Release Notes
run: |
echo "This release contains the latest documentation package for the CrewAI Docs." > release_notes.md
echo "" >> release_notes.md
echo "Last updated: $(date +'%Y-%m-%d %H:%M:%S %Z')" >> release_notes.md
echo "" >> release_notes.md
echo "Commit: ${{ github.sha }}" >> release_notes.md
- name: Update Latest Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release delete latest --yes || true
gh release create latest docs.tar.gz \
--title "Latest Documentation Package" \
--notes-file release_notes.md \
--latest