Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 35f5caa

Browse files
committed
fix: up workflows
1 parent 49e4821 commit 35f5caa

7 files changed

Lines changed: 30 additions & 55 deletions

File tree

.github/workflows/deactivate.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ on:
1010
- "!main"
1111
- "!dev"
1212
- "!develop"
13-
14-
concurrency:
15-
cancel-in-progress: true
16-
group: ${{ github.workflow }}-${{ github.event.ref || github.event.pull_request.head.ref }}
13+
- "!**/persist"
14+
- "!persist/**"
15+
- "!**/persist/**"
16+
- "!persist-**"
17+
- "!**-persist"
18+
- "!**-persist-**"
1719

1820
jobs:
19-
kontinuous:
21+
socialgouv:
2022
uses: socialgouv/workflows/.github/workflows/use-ks-gh-deactivate.yaml@v1
2123
secrets: inherit

.github/workflows/preproduction.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}
1212

1313
jobs:
14-
kontinuous:
15-
name: "Deploy on Kubernetes 🐳"
16-
needs: [build]
14+
socialgouv:
15+
name: "🇫🇷 SocialGouv"
1716
uses: socialgouv/workflows/.github/workflows/use-ks-gh-preproduction.yaml@v1
1817
secrets: inherit

.github/workflows/production.yaml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,7 @@ concurrency:
1010
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}
1111

1212
jobs:
13-
build:
14-
name: Build & Register application
15-
runs-on: ubuntu-latest
16-
steps:
17-
- name: Use autodevops build and register
18-
uses: socialgouv/workflows/actions/build-image@v1
19-
with:
20-
environment: prod
21-
token: ${{ secrets.GITHUB_TOKEN }}
22-
imagePackage: app
23-
24-
kontinuous:
25-
name: "Deploy on Kubernetes 🐳"
26-
needs: [build]
13+
socialgouv:
14+
name: "🇫🇷 SocialGouv"
2715
uses: socialgouv/workflows/.github/workflows/use-ks-gh-production.yaml@v1
2816
secrets: inherit

.github/workflows/release.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches: [master, main, alpha, beta, next]
6+
jobs:
7+
release:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: socialgouv/workflows/actions/semantic-release@v1
12+
with:
13+
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
14+
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }}
15+
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}

.github/workflows/release.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/review-auto.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}
1212

1313
jobs:
14-
kontinuous:
15-
name: "Deploy on Kubernetes 🐳"
14+
socialgouv:
15+
name: "🇫🇷 SocialGouv"
1616
uses: socialgouv/workflows/.github/workflows/use-ks-gh-review-auto.yaml@v1
1717
secrets: inherit

.github/workflows/review.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ on:
77
- "!main"
88
- "!feat/**"
99
- "!fix/**"
10-
- "!chore/**"
1110

1211
concurrency:
1312
cancel-in-progress: true
1413
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}
1514

1615
jobs:
17-
kontinuous:
18-
name: "Deploy on Kubernetes 🐳"
16+
socialgouv:
17+
name: "🇫🇷 SocialGouv"
1918
uses: socialgouv/workflows/.github/workflows/use-ks-gh-review.yaml@v1
2019
secrets: inherit

0 commit comments

Comments
 (0)