-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use search endpoint from legacy tweetdeck
fix: rss for most timeline endpoints fix: use .mjs for build exports fix: wrong bearer token to update in online endpoints remove: cfworkers builder for github actions update: use tweetdeck bearer token for crawler update: use package crypto-es to replace create-hmac update: archive script with new search endpoint
- Loading branch information
Showing
32 changed files
with
578 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
- name: Yarn install and build && Replace Workers' id | ||
- name: Yarn install and build | ||
run: | | ||
yarn | ||
yarn run build:rollup | ||
sed -i 's/<YOUR_ID>/${{ secrets.CF_KV_ID }}/g' apps/cfworkers/wrangler.toml | ||
sed -i 's/\[\"\*\"\]/${{ secrets.CF_ENV_WORKERS_ALLOW_ORIGIN }}/g' apps/cfworkers/wrangler.toml | ||
# sed -i 's/<YOUR_ID>/${{ secrets.CF_KV_ID }}/g' apps/cfworkers/wrangler.toml | ||
# sed -i 's/\[\"\*\"\]/${{ secrets.CF_ENV_WORKERS_ALLOW_ORIGIN }}/g' apps/cfworkers/wrangler.toml | ||
# - name: Upload dist | ||
# uses: actions/[email protected] | ||
# with: | ||
|
@@ -35,15 +35,15 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
name: 'archive_node.js' | ||
path: dist/archiver/archive_node.js | ||
path: dist/archiver/archive_node.mjs | ||
- name: Upload online backend | ||
uses: actions/[email protected] | ||
with: | ||
name: 'app_online.js' | ||
path: dist/backend/app_online.js | ||
- name: Deploy to workers | ||
uses: cloudflare/[email protected] | ||
with: | ||
apiToken: ${{ secrets.CF_API_TOKEN }} | ||
accountId: ${{ secrets.CF_ACCOUNT_ID }} | ||
workingDirectory: 'apps/cfworkers' | ||
path: dist/backend/app_online.mjs | ||
#- name: Deploy to workers | ||
# uses: cloudflare/[email protected] | ||
# with: | ||
# apiToken: ${{ secrets.CF_API_TOKEN }} | ||
# accountId: ${{ secrets.CF_ACCOUNT_ID }} | ||
# workingDirectory: 'apps/cfworkers' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
11e3088
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#4 Known issues