Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed May 17, 2024
1 parent ce87e64 commit 093e6e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 80 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Deploy to staging when pushing on staging
name: Build and deploy when pushing on staging or main

on:
push:
branches:
- main
- staging
- feat/github-ci

jobs:

deploy-staging:

environment: staging
environment: ${{ github.ref_name == 'main' && 'prod' || 'staging' }}

name: Deploy to staging from ${{ github.ref_name }}/${{ github.sha }}

Expand Down
78 changes: 0 additions & 78 deletions .github/workflows/prod.yml

This file was deleted.

0 comments on commit 093e6e2

Please sign in to comment.