mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 03:33:36 -05:00
Workflow Stuff
This commit is contained in:
parent
81175b4f69
commit
e1d38cc524
2 changed files with 26 additions and 4 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -12,6 +12,7 @@ on:
|
|||
- pnpm-lock.yaml
|
||||
env:
|
||||
FORCE_COLOR: true
|
||||
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
|
||||
|
||||
jobs:
|
||||
DetermineRunner:
|
||||
|
@ -28,8 +29,6 @@ jobs:
|
|||
fallback-runner: "ubuntu-latest"
|
||||
min-available-runners: 1
|
||||
github-token: ${{ env.GITHUB_TOKEN }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
|
||||
|
||||
Build:
|
||||
name: Build Equicord
|
||||
|
@ -67,5 +66,3 @@ jobs:
|
|||
if: github.repository == 'Equicord/Equicord'
|
||||
run: |
|
||||
gh release upload latest --clobber dist/*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
|
||||
|
|
25
.github/workflows/syncDev.yml
vendored
Normal file
25
.github/workflows/syncDev.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: Sync Vencord dev branch
|
||||
|
||||
env:
|
||||
WORKFLOW_TOKEN: ${{ secrets.ETOKEN }}
|
||||
UPSTREAM_URL: "https://github.com/Vendicated/Vencord.git"
|
||||
UPSTREAM_BRANCH: "dev"
|
||||
DOWNSTREAM_BRANCH: "main"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 * * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: GitHub Sync to Upstream Repository
|
||||
id: sync
|
||||
uses: verticalsync/sync-upstream-repo@master
|
||||
with:
|
||||
upstream_repo: ${{ env.UPSTREAM_URL }}
|
||||
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
|
||||
downstream_branch: ${{ env.DOWNSTREAM_BRANCH }}
|
||||
token: ${{ env.WORKFLOW_TOKEN }}
|
Loading…
Reference in a new issue