Generate installer preview video #10
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: Generate installer preview video | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "static/install.sh" | |
| workflow_dispatch: | |
| jobs: | |
| generate-installer-preview: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run | |
| working-directory: scripts/preview-generator | |
| run: | | |
| docker build -t owncast-installer-preview-generator . | |
| docker run --rm -v $PWD:/vhs owncast-installer-preview-generator ./installer.tape | |
| mv owncast-install.* ../../static/ | |
| - name: Commit changes | |
| uses: EndBug/add-and-commit@v5 | |
| with: | |
| author_name: Owncast | |
| author_email: [email protected] | |
| message: "Update installer preview" | |
| add: "static/owncast-install.*" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |