fix: S3 업로더 수정 #4
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: NAAGA BACKEND MERGE CI | |
on: | |
push: | |
branches: | |
- feat/#439 | |
jobs: | |
deploy: | |
runs-on: naaga | |
steps: | |
- name: change permission | |
run: | | |
sudo chown -R ubuntu:ubuntu /home/ubuntu/actions-runner/naaga/2023-naaga/2023-naaga | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: remove | |
run: | | |
sudo rm -rf /home/ubuntu/2023-naaga | |
- name: deploy | |
run: | | |
sudo cp -r /home/ubuntu/actions-runner/naaga/2023-naaga/2023-naaga /home/ubuntu | |
cd /home/ubuntu | |
sudo ./deploy.sh |