Skip to content

Commit 3201e93

Browse files
Re-correction de l'action GH de déploiement de la doc + tentative de correction de l'action de CD (#1566)
* debug prod gh action * debug prod ci/cd * wip * wip * TEST DO NOT MERGE * TEST DO NOT MERGE * TEST DO NOT MERGE * revert * wip
1 parent d54fe85 commit 3201e93

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
e2e:
7979
name: tests de bout-en-bout
8080
runs-on: ubuntu-latest
81-
if: contains( github.event.pull_request.labels.*.name, 'frontend') || github.ref == 'refs/head/main'
81+
if: ${{ github.ref_name == 'main' || (github.event_name == 'pull_request' && contains( github.event.pull_request.labels.*.name, 'frontend')) }}
8282
strategy:
8383
matrix:
8484
shard: [1/5, 2/5, 3/5, 4/5, 5/5]

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
name: 📚 Deploy Documentation
22

3-
permissions:
4-
contents: write
5-
6-
73
on:
84
push:
95
branches: [main]
106

117
# Address actions/missing-workflow-permissions rule in
128
# code scanning alerts
139
permissions:
14-
contents: read
10+
contents: write
1511

1612
jobs:
1713
deploy:

0 commit comments

Comments
 (0)