Skip to content

fix(dc/di): update environment to test on staing #1

fix(dc/di): update environment to test on staing

fix(dc/di): update environment to test on staing #1

Workflow file for this run

name: Deployment workflow
on:
push:
branches:
- staging
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build vite dist folder
id: build
run: npm i && npm run build --mode=production
- name: S3 deployment
id: s3-deploy
uses: dataesr/ovh-s3-deploy@v1
with:
access_key: ${{ secrets.S3_ACCESS_KEY }}
secret_key: ${{ secrets.S3_SECRET_KEY }}
notify:
needs: deploy
if: always()
runs-on: ubuntu-latest
steps:
- uses: dataesr/mm-notifier-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
mattermost_webhook_url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
mattermost_channel: bots
deployment_url: ${{ steps.s3-deploy.outputs.deployment_url }}