Skip to content

Merge pull request #58 from Try-AngIe/feat/contract #4

Merge pull request #58 from Try-AngIe/feat/contract

Merge pull request #58 from Try-AngIe/feat/contract #4

Workflow file for this run

name: BE PIPELINE
on:
push:
branches:
- dev
paths:
- 'server/**'
permissions: #github actions bot에게 권한 열기
contents: write
pages: write
id-token: write
env:
AWS_REGION: ap-northeast-2
S3_BUCKET: rlatkdbe3
jobs:
be-pipline:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: prod
- name: AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
- name: Upload to S3
run: |
aws s3 cp DEPLOY_FILE/server/server-0.0.1-SNAPSHOT.jar s3://${{ env.S3_BUCKET }}/server-0.0.1-SNAPSHOT.jar