mirror of
https://github.com/oxalica/rust-overlay.git
synced 2024-10-04 05:07:13 +03:00
ci: revert push scripts
This commit is contained in:
parent
cc3c93a28d
commit
6f312b3010
7
.github/workflows/sync-channels.yaml
vendored
7
.github/workflows/sync-channels.yaml
vendored
@ -15,6 +15,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
ref: master
|
||||
|
||||
- name: Install Nix
|
||||
@ -66,5 +67,7 @@ jobs:
|
||||
|
||||
- name: Push changes
|
||||
if: steps.commit.outcome == 'success'
|
||||
run: |
|
||||
git push master:master
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: master
|
||||
|
10
.github/workflows/update-stable.yaml
vendored
10
.github/workflows/update-stable.yaml
vendored
@ -19,10 +19,16 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Update stable -> master
|
||||
- name: Forward stable -> master
|
||||
run: |
|
||||
git checkout stable
|
||||
git merge --ff-only master
|
||||
git push stable:stable
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: stable
|
||||
|
Loading…
Reference in New Issue
Block a user