Skip to content

Commit

Permalink
feat(build.yml): uncomment screenshot generation step in GitHub Actio…
Browse files Browse the repository at this point in the history
…ns workflow

The screenshot generation step in the GitHub Actions workflow has been uncommented to ensure that missing screenshots are generated as part of the CI process. This change allows for automated creation and updating of screenshots, which is essential for documentation or UI testing purposes. The use of AWS credentials indicates that the screenshots are likely being stored on AWS S3, and the `sqlite-utils vacuum` command suggests that the database is being cleaned up post-screenshot generation.
  • Loading branch information
mabdullahabid committed May 10, 2024
1 parent b62c6b0 commit b5ce3c6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ jobs:
run: |-
cd main
datasette . --get / | grep "Abdullah Abid: TIL"
# - name: Generate missing screenshots
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# run: |-
# cd main
# python generate_screenshots.py
# sqlite-utils vacuum tils.db
- name: Generate missing screenshots
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |-
cd main
python generate_screenshots.py
sqlite-utils vacuum tils.db
- name: Calculate embeddings and document similarity
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand Down

0 comments on commit b5ce3c6

Please sign in to comment.