mirror of
https://github.com/4ev-link/4ev.link.git
synced 2026-01-14 00:28:05 +00:00
chore: Sync from multipleof4/sune
This commit is contained in:
29
.github/workflows/mirr.yml
vendored
Normal file
29
.github/workflows/mirr.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: Sync with Upstream
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout target repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Sync, preserving directories
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
|
git remote add upstream https://github.com/multipleof4/test.git
|
||||||
|
git fetch upstream master
|
||||||
|
git reset --hard upstream/master
|
||||||
|
git rm -r --ignore-unmatch functions .github/workflows
|
||||||
|
git checkout ORIG_HEAD -- functions .github/workflows
|
||||||
|
|
||||||
|
git add -A
|
||||||
|
git diff-index --quiet HEAD || git commit -m "chore: Sync from multipleof4/sune" && git push --force
|
||||||
13
.github/workflows/run-openssl-thrice.yml
vendored
13
.github/workflows/run-openssl-thrice.yml
vendored
@@ -1,13 +0,0 @@
|
|||||||
name: Run OpenSSL Thrice
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
|
||||||
run-command:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Run openssl rand -hex 32 (1/3)
|
|
||||||
run: openssl rand -hex 32
|
|
||||||
- name: Run openssl rand -hex 32 (2/3)
|
|
||||||
run: openssl rand -hex 32
|
|
||||||
- name: Run openssl rand -hex 32 (3/3)
|
|
||||||
run: openssl rand -hex 32
|
|
||||||
1
functions/gh/[[catchall]].js
Normal file
1
functions/gh/[[catchall]].js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export const onRequest = ({params:{catchall:[o,r,b,...p]}}) => fetch(`https://raw.githack.com/${o}/${r}/${b}/${p.join('/')}`);
|
||||||
Reference in New Issue
Block a user