Skip to content

content(home): update summary #4

content(home): update summary

content(home): update summary #4

name: Reset Develop to Main
on:
push:
branches:
- main
jobs:
reset_develop_to_main:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main
token: ${{ secrets.REPO_ACCESS }}
- name: Configure Git user
run: |
git config --global user.name "0xferit"
git config --global user.email "[email protected]"
- name: Reset develop to main
run: |
git fetch origin
git checkout develop
git reset --hard origin/main
git push --force origin develop