From 39b39c5e32056d19a7885e2054732b6c6d24afa1 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 18 Aug 2024 17:15:36 +0800 Subject: [PATCH] Update imgur.yml --- .github/workflows/imgur.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/imgur.yml b/.github/workflows/imgur.yml index c7364ac7..aba57699 100644 --- a/.github/workflows/imgur.yml +++ b/.github/workflows/imgur.yml @@ -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