Update app_list structure #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Compose Files | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
# Once a week | |
- cron: '0 0 * * 0' | |
permissions: | |
contents: write | |
jobs: | |
generate-compose-files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Generate Compose Files | |
run: python main.py | |
# Zip Docker_Compose | |
- name: Zip Docker_Compose | |
run: | | |
cd Docker_Compose | |
zip -r ../Docker_Compose.zip * | |
- name: Create Release | |
if: github.ref == 'refs/heads/main' | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: Docker_Compose.zip | |
tag_name: latest | |
token: ${{ secrets.GITHUB_TOKEN }} | |
draft: false | |
prerelease: false |