Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
fix(anime.yml): copy the script to /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
0x61nas authored Aug 13, 2023
1 parent 2f55a86 commit 402da89
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/anime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,12 @@ jobs:
- name: Change the branch
run: |
cp photo/anime.py /tmp
git checkout -B media/cover
rm -rf *
git checkout aurora
- name: Pull a random cover from ur Pinterest
run: |
cd photo
python anime.py "${{ secrets.PINTEREST_EMAIL }}" "${{ secrets.PINTEREST_PASSWORD }}" "${{ secrets.PINTEREST_USERNAME }}"
run: python /tmp/anime.py "${{ secrets.PINTEREST_EMAIL }}" "${{ secrets.PINTEREST_PASSWORD }}" "${{ secrets.PINTEREST_USERNAME }}"

- name: Commit new cover
run: |
Expand Down

0 comments on commit 402da89

Please sign in to comment.