Skip to content

refactor: Remove manual import button and ensure HTML always uses Rip… #44

refactor: Remove manual import button and ensure HTML always uses Rip…

refactor: Remove manual import button and ensure HTML always uses Rip… #44

Workflow file for this run

name: Publish to GitHub
on:
push:
branches: [main]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Git
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
- name: Initialize git if needed
run: |
if [ ! -d .git ]; then
git init
git add .
git commit -m "Initial commit"
fi
- name: Push to AnEntrypoint/gmgui
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote add upstream https://github.com/AnEntrypoint/gmgui.git 2>/dev/null || true
git branch -M main 2>/dev/null || true
git push -u upstream main --force 2>/dev/null || echo "Push may require authentication"