~/greynoise-cli

60ce38acc6e81b8bf5f7eda34710f952828af009 — Arthur Melton 71a5fef0 2 years ago
workflow really works now
1 files changed, 12 insertions(+), 7 deletions(-)

M .github/workflows/update.yml
M .github/workflows/update.yml => .github/workflows/update.yml +12 -7
@@ 1,14 1,19 @@

on:
  push:
    branches:
        - __mirror
  schedule:
  - cron:  "*/15 * * * *"
    - cron: '*/15 * * * *'
  workflow_dispatch:

jobs:
  repo-sync:
  mirror:
    runs-on: ubuntu-latest
    name: mirror
    steps:
    - uses: actions/checkout@v2
    - name: sync
      run: |
        find . -mindepth 1 -delete
        git clone https://git.arthurmelton.com/greynoise-cli .
      - name: mirror
        id: mirror
        uses: bridgelightcloud/github-mirror-action@v1
        with:
          origin: 'https://git.arthurmelton.com/greynoise-cli'
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}