-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'github/develop'
- Loading branch information
Showing
4 changed files
with
62 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.