Skip to content

Commit

Permalink
Update spec.yml (#3353)
Browse files Browse the repository at this point in the history
Fix the condition for running the publish spec step (a follow up to #3351).
  • Loading branch information
devoncarew authored Sep 15, 2023
1 parent da07de8 commit 976a151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Spec
name: Dart CI

on:
# Run on PRs and pushes to the default branch.
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
cp dartLangSpec.pdf firebase/DartLangSpecDraft.pdf
- name: Upload specification
if: ${{ github.event.pull_request.merged }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: FirebaseExtended/action-hosting-deploy@120e124148ab7016bec2374e5050f15051255ba2
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down

0 comments on commit 976a151

Please sign in to comment.