Skip to content

Bump ejs from 3.1.9 to 3.1.10 (#427) #210

Bump ejs from 3.1.9 to 3.1.10 (#427)

Bump ejs from 3.1.9 to 3.1.10 (#427) #210

name: Deployment Develop
on:
push:
branches: [ develop ]
# branches-ignore:
# - "**"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
timeout-minutes: 30
environment:
name: develop
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Cache .next/cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: NPM install
run: npm install
- name: Build and deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_CLOUDFRONT_URL: ${{ secrets.AWS_CLOUDFRONT_URL }}
run: npx sst deploy --stage develop