Skip to content

refactor: re-structure repo #13

refactor: re-structure repo

refactor: re-structure repo #13

name: Merge develop to master
on:
push:
branches:
- develop
jobs:
merge:
runs-on: ubuntu-latest
steps:
- name: Checkout develop branch
uses: actions/checkout@v3
with:
ref: develop
- name: Setup Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Checkout master branch
run: git checkout origin/master
- name: Merge develop into master
run: |
git merge develop
git push origin master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}