Skip to content

Merge pull request #92 from Paker30/dependabot/npm_and_yarn/i18next-2… #169

Merge pull request #92 from Paker30/dependabot/npm_and_yarn/i18next-2…

Merge pull request #92 from Paker30/dependabot/npm_and_yarn/i18next-2… #169

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node version
uses: actions/setup-node@v1
with:
node-version: '20.x'
- run: npm install
- run: git config user.email "${{ secrets.EMAIL }}" && git config user.name "${{ github.actor }}"
- run: npm run release
- name: Push release
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tags: true
branch: ${{ github.ref }}
- run: npm run build
- run: echo DEPLOY && ls -lhS public
- name: Deploy into S3
uses: opspresso/action-s3-sync@master
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "eu-central-1"
FROM_PATH: "./public"
DEST_PATH: "s3://cellar.com"
OPTIONS: "--acl public-read"