Skip to content

Conversation

@ProjectZeroDays
Copy link
Owner

@ProjectZeroDays ProjectZeroDays commented Jan 22, 2025

Add automated Huggingface deployment script and GitHub Actions workflow.

  • New Script: Add scripts/deploy_huggingface.sh to authenticate with Huggingface, upload model or dataset, and complete deployment steps.
  • GitHub Actions Workflow: Add .github/workflows/deploy_huggingface.yml to trigger on push to main branch, set up environment, install dependencies, and run the deployment script.
  • Testing: Update infra/test_deployment.sh to include a test for Huggingface deployment.
  • Documentation: Update README.md to include steps for Huggingface deployment automation.

For more details, open the Copilot Workspace session.

Add automated Huggingface deployment script and GitHub Actions workflow.

* **New Script**: Add `scripts/deploy_huggingface.sh` to authenticate with Huggingface, upload model or dataset, and complete deployment steps.
* **GitHub Actions Workflow**: Add `.github/workflows/deploy_huggingface.yml` to trigger on push to main branch, set up environment, install dependencies, and run the deployment script.
* **Testing**: Update `infra/test_deployment.sh` to include a test for Huggingface deployment.
* **Documentation**: Update `README.md` to include steps for Huggingface deployment automation.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ProjectZeroDays/Project-Red-Sword?shareId=XXXX-XXXX-XXXX-XXXX).
Comment on lines +10 to +30
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Deploy to Huggingface
env:
HUGGINGFACE_API_KEY: ${{ secrets.HUGGINGFACE_API_KEY }}
run: |
bash scripts/deploy_huggingface.sh

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions Job or Workflow does not set permissions
…neering module

* Add `email_spoofing_attack` and `sms_spoofing_attack` functions to `AdvancedSocialEngineering` class in `modules/advanced_social_engineering.py`
* Update `execute_attack` method to handle new attack types
* Update `render` method to include new attack types
* Add `email_spoofing` and `sms_spoofing` functions to `chatbot/app.py` to integrate new techniques
* Add error handling for new functions in `chatbot/app.py`
@ProjectZeroDays ProjectZeroDays merged commit 96a6e76 into Your-Momma-Beeotch Jan 22, 2025
10 of 15 checks passed
@ProjectZeroDays ProjectZeroDays deleted the add-huggingface-deployment branch January 22, 2025 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants