Skip to content

Commit

Permalink
Update imgur.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwu51 authored Aug 18, 2024
1 parent 3565462 commit 39b39c5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/imgur.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,8 @@ jobs:
- name: Scan and download Imgur images
run: node download-imgur-images.js

- name: Commit and push imgur directory
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add imgur
git commit -m 'Add downloaded Imgur images'
git push origin main
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./imgur

0 comments on commit 39b39c5

Please sign in to comment.