fix: CI/CD by setting a production environment with secrets
This commit is contained in:
parent
452cf41980
commit
77fece4682
2
.github/workflows/deploy-prod.yml
vendored
2
.github/workflows/deploy-prod.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
name: Deploy to Production
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
||||
environment: production
|
||||
environment: Production
|
||||
steps:
|
||||
- name: Deploy to Server
|
||||
uses: appleboy/ssh-action@v0.1.5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user