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:
parent
e17388b072
commit
53fc3886d8
1 changed files with 4 additions and 6 deletions
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue