Merge pull request #677 from iptv-org/fix-main-playlist-update-issue
Fix main playlist update issue
This commit is contained in:
commit
d0c5f917b9
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
- name: Generate Playlists and Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
ACCESS_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
|
||||
BASE_BRANCH: master
|
||||
BRANCH: gh-pages
|
||||
FOLDER: .gh-pages
|
||||
|
@ -14,8 +14,6 @@ function main() {
|
||||
parseIndex()
|
||||
console.log('Creating root directory...')
|
||||
createRootDirectory()
|
||||
console.log('Creating .nojekill...')
|
||||
createNoJekillFile()
|
||||
console.log('Generating index.m3u...')
|
||||
generateIndex()
|
||||
console.log('Generating index.country.m3u...')
|
||||
@ -41,10 +39,6 @@ function createRootDirectory() {
|
||||
helper.createDir(ROOT_DIR)
|
||||
}
|
||||
|
||||
function createNoJekillFile() {
|
||||
helper.createFile(`${ROOT_DIR}/.nojekyll`)
|
||||
}
|
||||
|
||||
function parseIndex() {
|
||||
const root = helper.parsePlaylist('index.m3u')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user