diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0b1bfa39a..17c01b6d9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/scripts/generate.js b/scripts/generate.js index d10c89350..423d74cc3 100644 --- a/scripts/generate.js +++ b/scripts/generate.js @@ -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')