Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
switch to more minimalist version
Browse files Browse the repository at this point in the history
  • Loading branch information
drkane committed Apr 20, 2020
1 parent b1eaae2 commit 77be0fa
Show file tree
Hide file tree
Showing 36 changed files with 42,269 additions and 2,173 deletions.
76 changes: 76 additions & 0 deletions .github/workflows/scrapeall.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Get latest cascs

on:
push:
schedule:
- cron: '5 2 * * 1'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Crawl CASC
run: |
scrapy crawl casc
- name: Crawl CCNI
run: |
scrapy crawl ccni
- name: Crawl government organisations
run: |
scrapy crawl gor
- name: Crawl GRID
run: |
scrapy crawl grid
- name: Crawl Hesa
run: |
scrapy crawl hesa
- name: Crawl Local Authorities in England
run: |
scrapy crawl lae
- name: Crawl Local Authorities in Northern Ireland
run: |
scrapy crawl lani
- name: Crawl Local Authorities in Scotland
run: |
scrapy crawl las
- name: Crawl NHS organisations
run: |
scrapy crawl nhsods
- name: Crawl Local Authorities in Wales
run: |
scrapy crawl pla
- name: Crawl Local Authorities in Wales
run: |
scrapy crawl pla
- name: Crawl Registered Social Landlords
run: |
scrapy crawl rsl
- name: Crawl Northern Ireland Schools
run: |
scrapy crawl schools_ni
- name: Crawl Scotland Schools
run: |
scrapy crawl schools_scotland
- name: Crawl Wales Schools
run: |
scrapy crawl schools_wales
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git diff --quiet && git diff --staged --quiet || (git commit -m "Update by GitHub Action" -a)
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 0 additions & 2 deletions Procfile

This file was deleted.

74 changes: 0 additions & 74 deletions alembic.ini

This file was deleted.

1 change: 0 additions & 1 deletion alembic/README

This file was deleted.

82 changes: 0 additions & 82 deletions alembic/env.py

This file was deleted.

24 changes: 0 additions & 24 deletions alembic/script.py.mako

This file was deleted.

30 changes: 0 additions & 30 deletions alembic/versions/14feaf6b8df0_orgids_field_name.py

This file was deleted.

37 changes: 0 additions & 37 deletions alembic/versions/2c338e0e9ed7_add_scraping_table.py

This file was deleted.

Loading

0 comments on commit 77be0fa

Please sign in to comment.