Skip to content

Commit

Permalink
Added CI/CD for manual links
Browse files Browse the repository at this point in the history
  • Loading branch information
Masterjx9 committed Dec 24, 2024
1 parent 5df2afb commit b59831e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 6 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/manual_installer_links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Update Manual Installer

on:
# Runs every Sunday at midnight (UTC)
schedule:
- cron: '0 0 * * 0'
# Allows you to manually trigger the workflow too
workflow_dispatch:

jobs:
update-manual-install:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3

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

- name: Install dependencies
run: |
if [ -f requirements.txt ]; then
pip install -r requirements.txt
fi
- name: Run update script
run: |
python -m services.update_manual_install
- name: Commit changes
run: |
git config --global user.name "Jaton Justice"
git config --global user.email "${{ secrets.GIT_USER_EMAIL }}"
git add .
git commit -m "Weekly automated manual installer update" || echo "No changes to commit"
git push
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ target/
# Environment files
.vscode/
.venv
.env
.env.*
.env.local
.env.development
.env.test
.env.production
/testing

# Environment folders
.envs/
webui.png

0 comments on commit b59831e

Please sign in to comment.