1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-16 15:10:41 +08:00
NeoNetwork/.github/workflows/roa.yml
2020-07-21 00:22:03 +08:00

33 lines
768 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@master
- name: Install dependencies
shell: bash
run: |
sudo apt update -qq
sudo apt install -y git python3 python3-venv openssh-client
- name: Run ROA script
shell: bash
run: .scripts/generate-roa.sh
- name: Push to NeoCloud/NeoNetwork-ROA
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: generated
repository: NeoCloud/NeoNetwork-ROA