Github Actions 5 years ago
parent
commit
ddcb3c0a3f
  1. 9
      .github/workflows/DINAR.yml

9
.github/workflows/DINAR.yml

@ -24,8 +24,17 @@ on:
- cron: "5 5 * * 0" - cron: "5 5 * * 0"
jobs: jobs:
check-secret:
runs-on: ubuntu-latest
steps:
- name: Check that DINAR_TOKEN is set
run: |
test -z "${{ secrets.DINAR_TOKEN }}" && echo "DINAR_TOKEN is not set" && exit 1
rebuild-images: rebuild-images:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs:
- check-secret
steps: steps:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v2 uses: actions/checkout@v2

Loading…
Cancel
Save