$ docker
This file contains hidden or 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
| import * as AWS from 'aws-sdk'; | |
| import { configs } from '../../configs'; | |
| import { IUploadFileToS3 } from './interfaces/upload_file.interface'; | |
| import { Injectable } from '@nestjs/common'; | |
| @Injectable() | |
| export class WasabiService { | |
| private S3_BUCKET_NAME: string; | |
| private S3: AWS.S3; |
This file contains hidden or 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
| name: Deployment workflow | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| name: Deploy to production server |
This file contains hidden or 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
| name: Deploy to production Workflows | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| laravel-tests: |