Skip to content

generate_and_host

generate_and_host #100

Workflow file for this run

# SPDX-FileCopyrightText: 2021 Robin Vobruba <[email protected]>
#
# SPDX-License-Identifier: Unlicense
name: generate_and_host
on:
schedule:
- cron: "3 2 * * 1" # at 03:02 every Monday, UTC
push:
branches: [ master, main ]
paths:
- 'appro-fetcher'
- '.github/workflows/generate.yml'
jobs:
generate_and_host:
name: Generate & Host on pages
runs-on: ubuntu-latest
steps:
- name: "Check out this repo"
uses: actions/checkout@v2
- name: "Scrape"
run: ./appro-fetcher
- name: Deploy to pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public