ci: Remove unnecessary ${{ }} syntax

This commit is contained in:
Jonas Platte 2022-06-22 17:25:28 +02:00
parent 0e0f6d48e2
commit ff8a2cfca9
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C

View File

@ -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