Skip to content

CD : dev deploy to Storj #15

CD : dev deploy to Storj

CD : dev deploy to Storj #15

Workflow file for this run

name: Deployment to dev.osmgo.com
on:
push:
branches:
- develop
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:ci
- name: Create build
run: npm run build
- name: Deploy to S3
uses: jakejarvis/s3-sync-action@master
env:
AWS_S3_ENDPOINT: ${{ secrets.STORJ_ENDPOINT }}
AWS_S3_BUCKET: osmgo-dev
AWS_ACCESS_KEY_ID: ${{ secrets.STORJ_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.STORJ_SECRET_KEY }}
SOURCE_DIR: './www'
with:
args: --acl public-read --follow-symlinks --delete