mirror of
https://github.com/iptv-org/api.git
synced 2025-05-12 01:50:06 -04:00
Move database to iptv-org/database
This commit is contained in:
parent
3a664432cf
commit
2d6f4f7eb5
26 changed files with 0 additions and 43501 deletions
31
.github/workflows/auto-update.yml
vendored
31
.github/workflows/auto-update.yml
vendored
|
@ -1,31 +0,0 @@
|
|||
name: auto-update
|
||||
on:
|
||||
workflow_dispatch:
|
||||
release:
|
||||
types: [published]
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm install
|
||||
- run: npm run api:update
|
||||
- uses: tibdex/github-app-token@v1
|
||||
if: ${{ !env.ACT }}
|
||||
id: create-app-token
|
||||
with:
|
||||
app_id: ${{ secrets.APP_ID }}
|
||||
private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
||||
- uses: JamesIves/github-pages-deploy-action@4.1.1
|
||||
if: ${{ !env.ACT }}
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: .gh-pages
|
||||
token: ${{ steps.create-app-token.outputs.token }}
|
||||
git-config-name: iptv-bot[bot]
|
||||
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
||||
commit-message: '[Bot] Deploy to GitHub Pages'
|
||||
clean: false
|
19
.github/workflows/check.yml
vendored
19
.github/workflows/check.yml
vendored
|
@ -1,19 +0,0 @@
|
|||
name: check
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, edited]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- id: files
|
||||
uses: tj-actions/changed-files@v12.2
|
||||
with:
|
||||
files: \.csv$
|
||||
- name: validate
|
||||
if: steps.files.outputs.any_changed == 'true'
|
||||
run: |
|
||||
npm install
|
||||
npm run db:validate -- ${{ steps.files.outputs.all_changed_files }}
|
Loading…
Add table
Add a link
Reference in a new issue