Skip to content

Commit

Permalink
test: actions test
Browse files Browse the repository at this point in the history
  • Loading branch information
k000927 committed Jul 26, 2024
1 parent 9a29e5b commit d105c34
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: HybridJGS-FE
on:
push:
branches:
- test/gitAction
jobs:
build:
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
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 sync --region ap-northeast-2 build s3://jgs-fronted --delete

- name: Invalidate CloudFront Cache
run: aws cloudfront create-invalidation --distribution-id
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d105c34

Please sign in to comment.