ci: Remove unnecessary ${{ }} syntax
@@ -251,7 +251,7 @@ jobs:
run: target/debug/xtask doc --deny-warnings
- name: Deploy PR preview
- if: ${{ github.event_name == 'pull_request' }}
+ if: github.event_name == 'pull_request'
uses: dswistowski/surge-sh-action@v1.0.1
with:
domain: pr-${{ github.event.number }}--ruma-docs.surge.sh
@@ -260,7 +260,7 @@ jobs:
token: ${{ secrets.SURGE_TOKEN }}
- name: Comment deploy PR preview URL
- if: ${{ github.event_name == 'pull_request' }}
+ if: github.event_name == 'pull_request'
uses: Beakyn/gha-comment-pull-request@v1.0.2
id: deploy-preview
env:
@@ -271,7 +271,7 @@ jobs:
Preview: https://pr-${{ github.event.number }}--ruma-docs.surge.sh
- name: Deploy to docs repo
- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
folder: target/doc
