Skip to content

Commit

Permalink
delete deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Apr 23, 2024
1 parent 0a9a0d4 commit 9ce2003
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 36 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/deployment.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# name: Deployment workflow

# on:
# push:
# branches:
# - main

# 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 }}
6 changes: 3 additions & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- staging

env:
# DEPLOYMENT: ticket-office
# DEPLOYMENT_NAMESPACE: ticket-office
# DEPLOYMENT_URL: https://ticket-office.staging.dataesr.ovh
DEPLOYMENT: ticket-office
DEPLOYMENT_NAMESPACE: ticket-office
DEPLOYMENT_URL: https://ticket-office.staging.dataesr.ovh
MM_NOTIFICATION_CHANNEL: bots

jobs:
Expand Down

0 comments on commit 9ce2003

Please sign in to comment.