Build feeds #309
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: Build feeds | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: # minute hour_UTC day_of_month month day_of_week | |
- cron: "30 5 * * *" | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
default: 'warning' | |
jobs: | |
transform: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Inject slug/short variables | |
uses: rlespinasse/github-slug-action@v3.x | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@master | |
- name: Build feeds | |
id: clean_build | |
run: bash build_feeds.sh | |
- name: Deploy | |
if: ${{ github.event_name != 'pull_request' && steps.clean_build.conclusion == 'success'}} | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./auto-built-feeds | |
publish_branch: auto-built-feeds |