Updating publish pipeline
This commit is contained in:
parent
9fb3149415
commit
87ed9017af
|
|
@ -5,8 +5,8 @@ on:
|
|||
types: [published]
|
||||
jobs:
|
||||
buildUI:
|
||||
name: Build UI Artifact
|
||||
runs-on: osx
|
||||
name: Build UI Artifact
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -14,22 +14,21 @@ jobs:
|
|||
run: |
|
||||
cd source
|
||||
yarn install --frozen-lockfile
|
||||
- name: Build
|
||||
- name: Building Application
|
||||
run: |
|
||||
cd source
|
||||
yarn run build
|
||||
- name: Saving build artifact
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: troop20web
|
||||
path: source/dist/troop20web/
|
||||
publishUI:
|
||||
name: Publishing Docker Image
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: osx
|
||||
needs: [buildUI]
|
||||
name: Publish Docker Image
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Getting Artifact
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: troop20web
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user