diff --git a/.github/workflows/web-container.yml b/.github/workflows/web-container.yml index cc03388..4ff8928 100644 --- a/.github/workflows/web-container.yml +++ b/.github/workflows/web-container.yml @@ -46,11 +46,11 @@ jobs: max-parallel: 1 matrix: env: ${{ fromJson(needs.determine-workflow.outputs.workflow_envs) }} - uses: Doble-Technologies/ShiftSync-Website/.github/workflows/web-deploy-nonprod.yml@main + uses: .github/workflows/web-deploy-nonprod.yml@main with: environments: ${{ matrix.env }} workflow_type: ${{ needs.determine-workflow.outputs.workflow_type }} - branch: ${{ github.head_ref }} + branch: ${{ github.head_ref || github.ref_name }} permissions: contents: read packages: write @@ -61,11 +61,11 @@ jobs: max-parallel: 1 matrix: env: ${{ fromJson(needs.determine-workflow.outputs.workflow_envs) }} - uses: Doble-Technologies/ShiftSync-Website/.github/workflows/web-deploy-prod.yml@main + uses: .github/workflows/web-deploy-prod.yml@main with: environments: ${{ matrix.env }} workflow_type: ${{ needs.determine-workflow.outputs.workflow_type }} - branch: ${{ github.head_ref }} + branch: ${{ github.head_ref || github.ref_name }} permissions: contents: read packages: write