This commit is contained in:
parent
9cd4bebc3a
commit
5f3eeb9b04
13
.github/github_pushback.sh
vendored
Executable file
13
.github/github_pushback.sh
vendored
Executable 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
20
.github/workflows/github-pushback.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user