Fix branch checking

This commit is contained in:
Liam 2022-10-26 21:22:16 +01:00
parent ea241be07b
commit c17e34d9c1

@ -7,24 +7,27 @@ steps:
# Other branches
- name: install depends
image: node:18
when:
branch:
exclude:
- master
commands:
- npm install
when:
branch:
exclude:
- master
- name: test
image: node:18
commands:
- npm run lint
when:
branch:
exclude:
- master
commands:
- npm run lint
# Main branches
- name: docker
image: plugins/docker
when:
branch:
- main
settings:
username:
from_secret: dockerhub_username
@ -32,6 +35,3 @@ steps:
from_secret: dockerhub_password
repo: fascinated/beatsaber-overlay
tags: latest
when:
branch:
- main