Skip to content

Commit c0ab3fa

Browse files
committed
👷 fix branch/repo checking
1 parent 05c65af commit c0ab3fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎.github/workflows/gh-pages.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,18 @@ jobs:
5858
run: deno task build
5959

6060
- name: Setup Pages
61-
if: github.ref == 'refs/heads/main' && github.repository == ${{ env.REPO }}
61+
if: ${{ github.ref == 'refs/heads/main' && github.repository == env.REPO }}
6262
id: pages
6363
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
6464

6565
- name: Upload artifact
66-
if: github.ref == 'refs/heads/main' && github.repository == ${{ env.REPO }}
66+
if: ${{ github.ref == 'refs/heads/main' && github.repository == env.REPO }}
6767
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
6868
with:
6969
path: ./public
7070

7171
- name: Deploy to GitHub Pages
72-
if: github.ref == 'refs/heads/main' && github.repository == ${{ env.REPO }}
72+
if: ${{ github.ref == 'refs/heads/main' && github.repository == env.REPO }}
7373
id: deployment
7474
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
7575

0 commit comments

Comments
 (0)