Delete update-codes.yml

This commit is contained in:
Aleksandr Statciuk 2021-10-07 20:12:26 +03:00
parent 263cdf8254
commit 5d1a615a9a

View file

@ -1,31 +0,0 @@
name: update-codes
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *'
jobs:
update-codes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Update Codes
run: npm run update-codes
- name: Generate Token
uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages
folder: .gh-pages
clean: false
token: ${{ steps.generate-token.outputs.token }}
git-config-name: iptv-bot
git-config-email: 84861620+iptv-bot[bot]@users.noreply.github.com
commit-message: '[Bot] Deploy to GitHub Pages'