Skip to content

Commit

Permalink
chore(workflows): Use SocialGouv release action (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens authored Nov 17, 2021
1 parent dc4a1fd commit 0a101d0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 27 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/deactivate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,19 @@ on:

jobs:
bury_review_env:
name: 🪦 Review
name: Deactivate review branch
runs-on: ubuntu-latest
steps:

- uses: SocialGouv/actions/k8s-funeral@v1
with:
kube-config: ${{ secrets.KUBECONFIG }}
github-token: ${{ secrets.GITHUB_TOKEN }}
rancherId: ${{ secrets.RANCHER_PROJECT_ID }}
kube-config: ${{ secrets.SOCIALGOUV_KUBE_CONFIG_DEV }}
socialgouvBaseDomain: ${{ secrets.SOCIALGOUV_BASE_DOMAIN }}

- uses: smartsquaregmbh/delete-old-packages@v0.3.2
with:
dry-run: true
names: |
fabrique/standup
17 changes: 4 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@v2
- uses: SocialGouv/actions/autodevops-release@v1
with:
fetch-depth: 0
persist-credentials: false
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }}
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 17
extra_plugins: |
@semantic-release/changelog@5.0.1
@semantic-release/git@9.0.0
env:
GITHUB_TOKEN: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
12 changes: 0 additions & 12 deletions .releaserc

This file was deleted.

0 comments on commit 0a101d0

Please sign in to comment.