Skip to content

Commit

Permalink
Create workflow for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Sep 17, 2022
1 parent 3646846 commit a9e391a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pull-requests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Testing

on:
pull_request:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Deploying
name: Push to master and deploying

on:
push:
branches:
- refs/tags/*
branch:
- master
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
checks:
Expand All @@ -11,6 +14,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: checks
if: contains(github.ref, 'refs/tags/')
container:
image: node:16
steps:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/push-to-master.yaml

This file was deleted.

0 comments on commit a9e391a

Please sign in to comment.