Refine Action for Clash
Some checks failed
Generate RULE-SET for Premium Edition of Clash / build (push) Failing after 9s
Some checks failed
Generate RULE-SET for Premium Edition of Clash / build (push) Failing after 9s
This commit is contained in:
@@ -12,6 +12,11 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout codebase
|
||||||
|
uses: https://github.com/actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: main
|
||||||
|
|
||||||
- name: Make directory
|
- name: Make directory
|
||||||
run: |
|
run: |
|
||||||
mkdir -p Clash/RuleSet/StreamingMedia
|
mkdir -p Clash/RuleSet/StreamingMedia
|
||||||
@@ -30,8 +35,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Git push
|
- name: Git push
|
||||||
run: |
|
run: |
|
||||||
|
git init
|
||||||
git config --local user.name "gitea-actions[bot]"
|
git config --local user.name "gitea-actions[bot]"
|
||||||
git config --local user.email "gitea-actions[bot]@moon.re"
|
git config --local user.email "gitea-actions[bot]@moon.re"
|
||||||
git add Clash
|
git add Clash
|
||||||
git commit -m "${{ env.RELEASE_NAME }}"
|
git commit -m "${{ env.RELEASE_NAME }}"
|
||||||
git push origin automation:main
|
git remote add origin "https://MOOn:${{ secrets.GT_TOKEN }}@git.moon.re/MOOn/Profiles.git"
|
||||||
|
git push origin master:main
|
||||||
|
Reference in New Issue
Block a user