diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ba0a611be..e06e601e6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,6 +11,7 @@ on: branches: - main - develop + - subpath-deployment env: NODE: 16 @@ -27,6 +28,8 @@ jobs: echo "env_name=production" >> $GITHUB_OUTPUT elif [ "${{ github.ref }}" = "refs/heads/develop" ]; then echo "env_name=staging" >> $GITHUB_OUTPUT + elif [ "${{ github.ref }}" = "refs/heads/subpath-deployment" ]; then + echo "env_name=staging" >> $GITHUB_OUTPUT fi - name: Print the environment run: echo "The environment is ${{ steps.define_environment.outputs.env_name }}"