diff --git a/.github/workflows/build-clone.yml b/.github/workflows/build-clone.yml new file mode 100644 index 0000000..5a73e32 --- /dev/null +++ b/.github/workflows/build-clone.yml @@ -0,0 +1,20 @@ +name: Clone Repository on Build Branch Push + +on: + push: + branches: + - build + +jobs: + clone_repo: + runs-on: ubuntu-latest + + steps: + - name: Checkout the repository + uses: actions/checkout@v3 + + - name: Clone the repository to personal account + run: | + git clone https://@github.com/lurgi/wanna-woowa-blog.git + env: + PERSONAL_ACCESS_TOKEN: ${{ secrets.LURGI_PERSONAL_ACCESS_TOKEN }}