Skip to content

chore: yml파일 수정 #3

chore: yml파일 수정

chore: yml파일 수정 #3

Workflow file for this run

name: Build Branch Push to Wanna-Woowa-Blog Main
on:
push:
branches:
- build
jobs:
push_to_wanna_woowa_blog:
runs-on: ubuntu-latest
steps:
- name: Checkout the build branch
uses: actions/checkout@v3
with:
ref: build
- name: Clone the wanna-woowa-blog repository
run: |
git clone https://${{ secrets.LURGI_PERSONAL_ACCESS_TOKEN }}@github.com/lurgi/wanna-woowa-blog.git
cd wanna-woowa-blog
- name: Copy files to Wanna-Woowa-Blog
run: |
rsync -av --exclude=".git" ../ ./
- name: Commit and push to Wanna-Woowa-Blog main
run: |
git config --global user.email "[email protected]"
git config --global user.name "your-username"
git add .
git commit -m "Deploy build branch to wanna-woowa-blog main"
git push https://${{ secrets.LURGI_PERSONAL_ACCESS_TOKEN }}@github.com/lurgi/wanna-woowa-blog.git main