mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-11-23 04:00:41 +08:00
34 lines
737 B
YAML
34 lines
737 B
YAML
name: Generator ROA
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
schedule:
|
|
- cron: "0 6 * * 1"
|
|
|
|
jobs:
|
|
build:
|
|
name: Generate ROA
|
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
repository: NeoCloud/NeoNetwork-ROA
|
|
path: generated
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y python3 python3-venv
|
|
|
|
- name: Run ROA script
|
|
run: .scripts/generate-roa.sh
|
|
|
|
- name: Push to NeoCloud/NeoNetwork-ROA
|
|
run: .scripts/push-to-roa.sh
|
|
env:
|
|
SSHPRIVKEY: ${{ secrets.KEY }}
|