Skip to content

Commit

Permalink
👷 Needs satellites
Browse files Browse the repository at this point in the history
  • Loading branch information
padms committed Oct 31, 2023
1 parent 95b2281 commit 3ab9e1c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/dataset-backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,29 @@ on:
# Runs at 02:00 UTC every sunday
# - cron: '0 2 * * 0'
jobs:
read-satellites:
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- id: set-matrix
name: Read from satellites.json
run: |
MATRIX=$(cat satellites.json)
echo "matrix=${MATRIX}" >> $GITHUB_OUTPUT
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
if: failure()

backup-dataset:
runs-on: ubuntu-latest
needs: read-satellites
name: Backup dataset
strategy:
matrix:
Expand Down

0 comments on commit 3ab9e1c

Please sign in to comment.