mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 10:35:42 +01:00
[ci-skip] remove .github/workflows/upstream.yml_off
This commit is contained in:
parent
76a75f866b
commit
1ba5a2b52c
37
.github/workflows/upstream.yml_off
vendored
37
.github/workflows/upstream.yml_off
vendored
@ -1,37 +0,0 @@
|
||||
name: Tuinity-Upstream
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "*/60 */2 * * *"
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v1.3.0
|
||||
with:
|
||||
java-version: 11
|
||||
- name: Update Tuinity
|
||||
run: |
|
||||
git submodule init
|
||||
git submodule update --init --recursive
|
||||
git config --global user.email "ci@github.com"
|
||||
git config --global user.name "Github CI"
|
||||
yatopiaDir=`pwd`
|
||||
cd Tuinity
|
||||
pwd
|
||||
git status
|
||||
git fetch
|
||||
git reset --hard origin
|
||||
cd ..
|
||||
git add $(git rev-parse --show-toplevel)
|
||||
git commit -m "Update upstream"
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit-message: Update Upstream
|
||||
title: '[Automated] Tuinity updates'
|
||||
body: 'Fetch Upstream from https://github.com/Spottedleaf/Tuinity'
|
Loading…
Reference in New Issue
Block a user