Skip to content

Commit

Permalink
feat(ci): Protection on main branch for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Oct 1, 2023
1 parent 67fd804 commit 5e479f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Continuous Deployment

on:
push:
# branches:
# - main
branches:
- main

jobs:
deploy-server:
runs-on: ubuntu-latest
name: Deploy
environment: Preview
environment: Production

steps:
- name: Checkout repository
Expand Down

0 comments on commit 5e479f3

Please sign in to comment.