Skip to content
This repository was archived by the owner on Jun 7, 2025. It is now read-only.

Perform force build #27

Perform force build

Perform force build #27

Workflow file for this run

name: "Update Main Repo"
on:
push:
branches: [master]
workflow_dispatch:
env:
GitHubMail: "[email protected]"
GitHubName: "New-dev0"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: "Set Git Configs & Secrets"
run: |
git config --global user.email ${GitHubMail}
git config --global user.name ${GitHubName}
git config --global credential.helper store
echo "https://${GitHubName}:${{ secrets.GH_TOKEN }}@github.com" > ~/.git-credentials
- name: "cloning repo"
continue-on-error: true
run: |
git clone https://github.com/TeamUltroid/Ultroid-docs from-repo
git clone https://github.com/TeamUltroid/TeamUltroid.github.io to-repo
rm -rf from-repo/.git*
rm -rf to-repo/docs/*
rm -rf from-repo/README.md
mv from-repo/* to-repo/docs/
cd to-repo
git add .
git commit -m "Auto: Update Repo"
git push -q https://${{ secrets.GH_TOKEN }}@github.com/TeamUltroid/TeamUltroid.github.io HEAD:main