mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
more manifest.yml fixes
This commit is contained in:
10
.github/workflows/manifest.yml
vendored
10
.github/workflows/manifest.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
# Simple workflow for deploying static content to GitHub Pages
|
# Simple workflow for deploying static content to GitHub Pages
|
||||||
name: Deploy Installation Manifests and Component Versions
|
name: Deploy Installation Manifests and Versions
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -42,11 +42,11 @@ jobs:
|
|||||||
- name: Create outputs folder
|
- name: Create outputs folder
|
||||||
shell: bash
|
shell: bash
|
||||||
run: mkdir deploy; mkdir deploy/manifests; mkdir deploy/manifests/${{ steps.extract_branch.outputs.branch }}
|
run: mkdir deploy; mkdir deploy/manifests; mkdir deploy/manifests/${{ steps.extract_branch.outputs.branch }}
|
||||||
- name: Generate manifest and shields for master
|
- name: Generate manifest and shields for main branch
|
||||||
if: github.event.pull_request.base.ref == 'master'
|
if: github.event.pull_request.base.ref == 'main'
|
||||||
run: python imgen.py gh_actions
|
run: python imgen.py gh_actions
|
||||||
- name: Generate manifest
|
- name: Generate only manifest for non-main branches
|
||||||
if: github.event.pull_request.base.ref != 'master'
|
if: github.event.pull_request.base.ref != 'main'
|
||||||
run: python imgen.py
|
run: python imgen.py
|
||||||
- name: Move manifest
|
- name: Move manifest
|
||||||
run: mv install_manifest.json deploy/manifests/${{ steps.extract_branch.outputs.branch }}
|
run: mv install_manifest.json deploy/manifests/${{ steps.extract_branch.outputs.branch }}
|
||||||
|
Reference in New Issue
Block a user