idk
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 27s

This commit is contained in:
Ward from fusion-voyager-3 2024-12-04 19:49:35 +03:00
parent 9cd4bebc3a
commit 5f3eeb9b04
2 changed files with 33 additions and 0 deletions

13
.github/github_pushback.sh vendored Executable file
View File

@ -0,0 +1,13 @@
#! /bin/bash
echo "${PWD##*/}" | grep "gitea-pika-first-setup" || echo "No push back here" && exit 0
git remote set-url origin git@git.pika-os.com:custom-gui-packages/pika-first-setup
# Commit changes to git
git config --global user.name 'Github Mirror Push Back - Ward'
git config --global user.email 'hotrod.master@hotmail.com'
git config --global --add safe.directory /__w/gitea-pika-first-setup/gitea-pika-first-setup
git add .
git commit -am"Github Mirror Push Back"
git push

20
.github/workflows/github-pushback.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: PikaOS Package Build & Release (amd64-v3)
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes:
- /proc:/proc
options: --privileged -it
steps:
- name: Release Package
run: ./.github/github_pushback.sh