Skip to content

Commit b915568

Browse files
committed
fixes
1 parent 58b08b8 commit b915568

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

.github/workflows/update-botasaurus-desktop-api-docs.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Build and Deploy Botasaurus Desktop API Docs
33
on:
44
push:
55
branches: [ master ]
6-
paths:
7-
- 'js/botasaurus-desktop-api/botasaurus-desktop-api-docs/**'
6+
# paths:
7+
# - 'js/botasaurus-desktop-api/botasaurus-desktop-api-docs/**'
88

99
jobs:
1010
build-and-deploy:
@@ -40,34 +40,33 @@ jobs:
4040
echo "CSS_FILE=${CSS_FILE}" >> $GITHUB_OUTPUT
4141
echo "JS_FILE=${JS_FILE}" >> $GITHUB_OUTPUT
4242
43-
- name: Configure AWS Credentials
44-
uses: aws-actions/configure-aws-credentials@v3
45-
with:
46-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
47-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
48-
aws-region: us-east-1
43+
# - name: Configure AWS Credentials
44+
# uses: aws-actions/configure-aws-credentials@v3
45+
# with:
46+
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
47+
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
48+
# aws-region: us-east-1
4949

50-
- name: Deploy to S3
51-
working-directory: js/botasaurus-desktop-api/botasaurus-desktop-api-docs
52-
run: |
53-
aws s3 cp build/ s3://botasaurus-api/ --recursive
50+
# - name: Deploy to S3
51+
# working-directory: js/botasaurus-desktop-api/botasaurus-desktop-api-docs
52+
# run: |
53+
# aws s3 cp build/ s3://botasaurus-api/ --recursive
5454

5555
- name: Update config file
5656
working-directory: js/botasaurus-server-js/src
5757
run: |
58-
sed -i "s/main.[a-z0-9]{8}.css/${{ steps.assets.outputs.CSS_FILE }}/g" api-config.ts
59-
sed -i "s/main.[a-z0-9]{8}.js/${{ steps.assets.outputs.JS_FILE }}/g" api-config.ts
58+
sed -i "s/main.[a-z0-9]\{8\}.js/${{ steps.assets.outputs.JS_FILE }}/g" api-config.ts
6059
- name: Pull Changes
6160
run: |
6261
git pull
6362
64-
- name: Install dependencies and build
65-
working-directory: js/botasaurus-server-js
66-
run: |
67-
npm i
68-
npm run upload
69-
env:
70-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
63+
# - name: Install dependencies and build
64+
# working-directory: js/botasaurus-server-js
65+
# run: |
66+
# npm i
67+
# npm run upload
68+
# env:
69+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7170

7271
- name: Commit & Push changes
7372
uses: actions-js/push@master

0 commit comments

Comments
 (0)