diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 37f15eb..0cc837b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: run: npm install - name: Deploy docs run: | - git config --global user.name 'venatbot' - git config --global user.email 'venatbot@protonmail.com' - git remote set-url origin 'https://venatbot:${{ secrets.GH_TOKEN }}@github.com/the-convocation/twitter-scraper.git' + git config --global user.name 'lalalune' + git config --global user.email 'autonomousresearcher@gmail.com' + git remote set-url origin 'https://lalalune:${{ secrets.GH_TOKEN }}@github.com/RubyResearch/agent-twitter-client.git' npm run docs:deploy diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 814c4e4..a6e8dab 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -30,6 +30,7 @@ jobs: TWITTER_USERNAME: ${{ secrets.TWITTER_USERNAME }} TWITTER_PASSWORD: ${{ secrets.TWITTER_PASSWORD }} TWITTER_EMAIL: ${{ secrets.TWITTER_EMAIL }} + TWITTER_COOKIES: ${{ secrets.TWITTER_COOKIES }} run: npm run test - name: Build run: npm run build diff --git a/src/tweets.test.ts b/src/tweets.test.ts index 89872dd..ce906a8 100644 --- a/src/tweets.test.ts +++ b/src/tweets.test.ts @@ -314,7 +314,7 @@ test('scraper can get tweet thread', async () => { test('sendTweet successfully sends a tweet', async () => { const scraper = await getScraper(); - const draftText = 'This is a test tweet'; + const draftText = 'Core updated on ' + Date.now().toString(); const success = await scraper.sendTweet(draftText);