mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-01 06:09:01 +03:00
build: releases: Create directory for releases
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -458,9 +458,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit and push ALL releases.json
|
- name: Commit and push ALL releases.json
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -p releases
|
||||||
|
mv releases*.json releases/
|
||||||
git config user.name "github-actions"
|
git config user.name "github-actions"
|
||||||
git config user.email "github-actions@github.com"
|
git config user.email "github-actions@github.com"
|
||||||
git checkout -B gh-pages
|
git checkout -B gh-pages
|
||||||
git add releases.json releases_*.json
|
git add releases/*
|
||||||
git commit -m "Update releases.json" || exit 0
|
git commit -m "Update releases" || exit 0
|
||||||
git push origin gh-pages
|
git push origin gh-pages
|
||||||
|
|||||||
Reference in New Issue
Block a user