Skip to content

Commit

Permalink
test with fixed environment
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed May 17, 2024
1 parent fbc3872 commit 1d8d559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

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

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

runs-on: ubuntu-latest

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
source: "./${{ env.CI_JOB_ID }}"
target: "/home/${{ secrets.CI_DEPLOY_USER }}/"

- name: Execute server commands for deploy
- name: Execute server commands for building and deploying
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.CI_DEPLOY_HOST }}
Expand Down

0 comments on commit 1d8d559

Please sign in to comment.