Skip to content

Build and Deploy

Build and Deploy #1

name: Build and Deploy
on:
push:
branches:
- master/**
- subwallet/**
workflow_dispatch:
inputs:
tag:
type: string
description: tag
default: accounts-react
is_latest:
type: boolean
description: also push latest tag
default: true
jobs:
build:
name: Build and push Docker Image
uses: UniqueNetwork/web-deploy/.github/workflows/build-docker-image.yml@master

Check failure on line 22 in .github/workflows/build-and-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-deploy.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build-and-deploy.yml" -> "UniqueNetwork/web-deploy/.github/workflows/build-docker-image.yml@master" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
secrets: inherit
with:
tag: accounts-react
dockerfile: ./Dockerfile
target: static
is_latest: ${{ github.event.inputs.is_latest }}
# todo: implement, just a placeholder for now
deploy:
needs: [build]
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Echo
run: echo "Deploying"