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
|
name: Deploy to Production
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
|
||||||
environment: production
|
environment: Production
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
uses: appleboy/ssh-action@v0.1.5
|
uses: appleboy/ssh-action@v0.1.5
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user