Skip to content

Commit

Permalink
Merge pull request #465 from sylhare/status
Browse files Browse the repository at this point in the history
Add build workflow
  • Loading branch information
sylhare authored Aug 29, 2024
2 parents 7a91b15 + ff04ee1 commit d0b9762
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 20 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
workflow_run:
workflows: ["Build"]
types:
- completed


jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Fail if previous workflow failed
run: exit 1
if: ${{ github.event.workflow_run.conclusion != 'success' }}

- uses: actions/checkout@v4
- name: Hello world
run: echo "Build passed! 🎉"
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build with Docker
name: Build

on:
push:
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/workflow-test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Type on Strap 🎨

[![Build](https://github.com/sylhare/Type-on-Strap/actions/workflows/jekyll-build.yml/badge.svg)](https://github.com/sylhare/Type-on-Strap/actions/workflows/jekyll-build.yml)
[![Build](https://github.com/sylhare/Type-on-Strap/actions/workflows/docker-build.yml/badge.svg)](https://github.com/sylhare/Type-on-Strap/actions/workflows/docker-build.yml)
[![Gem Version](https://badge.fury.io/rb/type-on-strap.svg)](https://badge.fury.io/rb/type-on-strap)
[![Docker Pulls](https://img.shields.io/docker/pulls/sylhare/type-on-strap)](https://hub.docker.com/r/sylhare/type-on-strap)

Expand Down

0 comments on commit d0b9762

Please sign in to comment.