mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-31 20:29:42 +01:00
fix: étendre la condition de déploiement pour inclure la branche master
This commit is contained in:
2
.github/workflows/cloudflare.yml
vendored
2
.github/workflows/cloudflare.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
|||||||
- name: Determine Deployment Target
|
- name: Determine Deployment Target
|
||||||
id: target
|
id: target
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ github.ref_name }}" = "main" ]; then
|
if [ "${{ github.ref_name }}" = "main" ] || [ "${{ github.ref_name }}" = "master" ]; then
|
||||||
echo "env_flag=" >> $GITHUB_OUTPUT
|
echo "env_flag=" >> $GITHUB_OUTPUT
|
||||||
echo "env_name=Production" >> $GITHUB_OUTPUT
|
echo "env_name=Production" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user