mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-05-18 23:50:17 +00:00
correct actions workflows
This commit is contained in:
@@ -1,14 +1,12 @@
|
|||||||
name: Build Docker image and push to release
|
name: Build Docker image and push to release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
# Sequence of patterns matched against refs/tags
|
types: [published]
|
||||||
tags:
|
|
||||||
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
if: 'github.event.release'
|
if: "!github.event.release.prerelease"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Connect to Tailscale
|
- name: Connect to Tailscale
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
name: Build Docker image and push to prerelease
|
name: Build Docker image and push to prerelease
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
# Sequence of patterns matched against refs/tags
|
types: [published]
|
||||||
tags:
|
|
||||||
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
if: 'github.event.prerelease'
|
if: github.event.release.prerelease
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Connect to Tailscale
|
- name: Connect to Tailscale
|
||||||
|
|||||||
Reference in New Issue
Block a user