Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

reset_repo

reset_repo #28

Workflow file for this run

name: Reset APT repo
on:
repository_dispatch:
types: [reset_repo]
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Reset history
run: |
git branch gh-pages || true
git switch gh-pages
git reset --hard origin/main
git push --set-upstream origin -f gh-pages