ci: Remove unnecessary ${{ }} syntax
This commit is contained in:
parent
0e0f6d48e2
commit
ff8a2cfca9
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user