Skip to content

Create reset-repository.yml #1

Create reset-repository.yml

Create reset-repository.yml #1

name: CI
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: reset-repository
run: |
git config --global user.name "davidedigrande"
git config --global user.email "[email protected]"
git rm -r --cached .
git commit -m "Remove old resume"
git switch --orphan update
git add .
git commit -m "Update resume"
git branch -D main
git branch -m main
git push origin +main:main