chore(github): only run publish against main branch (#16)

* chore(github): only run publish against main branch

* chore(github): tweak name
This commit is contained in:
Gareth Flowers 2022-04-30 11:11:22 +01:00 committed by GitHub
parent e17388b072
commit 53fc3886d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +1,14 @@
name: Publish name: Build and Publish Images
on: on:
page_build:
pull_request: pull_request:
branches: branches:
- main - main
push: push:
branches: branches:
- "**" - main
tags:
- "*.*.*"
jobs: jobs:
main: publish:
name: Publish
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout