Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Fix github token for image release

Ondra Urbanc63543a3ed3f
diff --git a/.travis/release-images-beta.js b/.travis/release-images-beta.js
index ada6990b4..9361fcb5e 100644
--- a/.travis/release-images-beta.js
+++ b/.travis/release-images-beta.js
@@ -78,7 +78,7 @@ if (dryRun) {
}
log('Adding new origin with token.');
-execGitCommand(`remote add origin-token https://${GH_TOKEN}@github.com/apifytech/apify-js > /dev/null 2>&1`);
+execGitCommand(`remote add origin-token https://${process.env.GH_TOKEN}@github.com/apifytech/apify-js > /dev/null 2>&1`);
log('Pushing changes to remote.');
execGitCommand(`git push --set-upstream origin-token master`);