Skip to content

Update version string format #8

Update version string format

Update version string format #8

Workflow file for this run

name: '[PROD] Build and Deploy to S3'
on:
push:
branches:
- feature/megurostudio
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE }}
aws-region: ap-northeast-1
- name: Install AWS CLI
run: |
sudo apt-get update
sudo apt-get install -y awscli
- name: Sync files to S3
run: |
aws s3 sync ./public s3://${{ secrets.AWS_BUCKET_NAME }}/avalonweb --acl public-read --delete