From be795ba6581a187281e0e93abad943e345229d49 Mon Sep 17 00:00:00 2001 From: Henry Mai <88569156+tanducmai@users.noreply.github.com> Date: Sat, 10 Jun 2023 19:53:50 +0930 Subject: [PATCH] Unnecessary use of the expression syntax (${{ }}) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2b829dd..62a0519 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/main' }} + if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public @@ -275,7 +275,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/master' }} + if: github.ref == 'refs/heads/master' with: github_token: ${{ secrets.GITHUB_TOKEN }} ``` @@ -328,7 +328,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/main' }} + if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} ```