test: actions test #14
Workflow file for this run
This file contains 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: HybridJGS-FE | |
on: | |
push: | |
branches: | |
- test/gitAction | |
jobs: | |
build: | |
name: HybridJGS-FE-Deploy | |
runs-on: ubuntu-latest | |
steps: | |
# - name: Checkout source code | |
# uses: actions/checkout@main | |
# | |
# - name: Install Dependencies | |
# run: npm install | |
# | |
# - name: Build | |
# run: npm run build | |
# - name: Configure AWS Credentials | |
# uses: aws-actions/configure-aws-credentials@v4 | |
# with: | |
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
# aws-region: ap-northeast-2 | |
- name: Deploy to S3 | |
env: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
run: aws s3 cp --recursive --region ap-northeast-2 dist s3://hybridjgs-frontend | |
# - name: Invalidate CloudFront Cache | |
# run: aws cloudfront create-invalidation --distribution-id |