Fix Premium plan video processing from 30 hours to 3 hours #281
This file contains hidden or 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: Github-Actions | |
| # Temporarily disabled workflow | |
| #on: | |
| # push: | |
| # branches: | |
| # - master | |
| jobs: | |
| Cloning-repository: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "Hi" | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{secrets.SECRET_KEY}} | |
| - name: Install dependencies | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| cache: 'pip' # caching pip dependencies | |
| - run: pip install git+https://github.com/LikaloLLC/BlogVi && pip install -r requirements.txt | |
| - name: List files in the repository | |
| run: | | |
| ls -la | |
| - name: Create settings.yaml | |
| run: | | |
| cd blog && echo '${{secrets.SETTINGS_YAML}}' > settings.yaml | |
| - name: Blogvi run | |
| run: cd blog && blogvi . | |
| - name: Regenerate site | |
| run: python3 main.py | |
| - name: Commit report | |
| run: | | |
| git config --global user.name 'Docsie' | |
| git config --global user.email '[email protected]' | |
| git add . | |
| git commit -m "[skip ci] Blog Generation" | |
| git push |