Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit

Permalink
Merge pull request #29 from shotor/fix/ci-correct-directories
Browse files Browse the repository at this point in the history
fix(ci): correct sub directories
  • Loading branch information
shotor authored May 12, 2022
2 parents 1f46192 + 533bd64 commit 47ff4c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Daily Shabby Pages Sample
uses: softprops/action-gh-release@v1
with:
files: cropped/*
files: cropped/shabby/*
tag_name: ${{steps.tag.outputs.TAG}}

tweet:
Expand Down
3 changes: 2 additions & 1 deletion tweet.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
import requests
import json
import base64

# Get a random image from the daily build
filename = "cropped/test/" + random.choice(os.listdir("cropped/test/"))
filename = "cropped/shabby/" + random.choice(os.listdir("cropped/shabby/"))

# Modify this if you like.
message = f"Shabby Page Of The Day: {filename} #ShabbyPages #Augraphy"
Expand Down

0 comments on commit 47ff4c2

Please sign in to comment.