Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrelemee committed Dec 19, 2024
2 parents 0351f12 + da44138 commit 4dbcd5a
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 107 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy to dev app

on:
workflow_run:
workflows: [ "Test" ]
types:
- completed
branches:
- develop

jobs:
deploy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
# Fetch all history
fetch-depth: 0
- name: Install clever tools
run: |
npm install -g clever-tools
- name: Deploy to dev application
env:
CC_APP_ID: ${{ secrets.CC_APP_DEV_ID }}
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
run: |
echo $CC_APP_ID
clever link $CC_APP_ID
clever deploy --alias precontentieux-dev --force
31 changes: 31 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy to app prod

on:
workflow_run:
workflows: [ "Test" ]
types:
- completed
branches:
- prod

jobs:
deploy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
# Fetch all history
fetch-depth: 0
- name: Install clever tools
run: |
npm install -g clever-tools
- name: Deploy to prod application
env:
CC_APP_ID: ${{ secrets.CC_APP_PROD_ID }}
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
run: |
echo $CC_APP_ID
clever link $CC_APP_ID
clever deploy --alias precontentieux-prod --force
32 changes: 0 additions & 32 deletions .github/workflows/deploy.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .gitlab-ci.yml

This file was deleted.

0 comments on commit 4dbcd5a

Please sign in to comment.