mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-12-26 02:29:24 +08:00
update scripts
This commit is contained in:
parent
a9cc9fe764
commit
ffd99e4134
1 changed files with 13 additions and 8 deletions
21
.github/workflows/roa.yml
vendored
21
.github/workflows/roa.yml
vendored
|
@ -13,21 +13,26 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: NeoCloud/NeoNetwork-ROA
|
||||||
|
ssh-key: ${{ secrets.KEY }}
|
||||||
|
path: generated
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
sudo apt update -qq
|
sudo apt update -qq
|
||||||
sudo apt install -y git python3 python3-venv openssh-client
|
sudo apt install -y git python3 python3-venv openssh-client
|
||||||
|
|
||||||
- name: Run ROA script
|
- name: Run ROA script
|
||||||
shell: bash
|
|
||||||
run: .scripts/generate-roa.sh
|
run: .scripts/generate-roa.sh
|
||||||
|
|
||||||
- name: Push to NeoCloud/NeoNetwork-ROA
|
- name: Push to NeoCloud/NeoNetwork-ROA
|
||||||
uses: ad-m/github-push-action@master
|
run: |
|
||||||
with:
|
cd generated
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
git config user.name "neonet roa bot"
|
||||||
directory: generated
|
git config user.email "bot@github.com"
|
||||||
repository: NeoCloud/NeoNetwork-ROA
|
git commit -m "Generated at $(TZ='UTC' date +%Y%m%d-%H%M%S.%N)"
|
||||||
|
git push
|
||||||
|
|
Loading…
Reference in a new issue