Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Jun 23, 2021
1 parent a89faba commit 9debb70
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ name: Deploy
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
# Release version if tests succeeded
release:
name: Publish
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 9debb70

Please sign in to comment.