diff --git a/.github/workflows/fetch.yml b/.github/workflows/fetch.yml index 84182241..8443fdab 100644 --- a/.github/workflows/fetch.yml +++ b/.github/workflows/fetch.yml @@ -17,6 +17,10 @@ jobs: node-version: lts/* cache: yarn + - name: Fetch CC index from CDTN + run: | + curl https://cdtnadmindev.blob.core.windows.net/cdtn/agreements.json -o - | jq > data/index.json + - name: Installing run: yarn --frozen-lockfile --perfer-offline --link-duplicates @@ -27,9 +31,6 @@ jobs: OAUTH_CLIENT_ID: ${{ secrets.DILA_OAUTH_CLIENT_ID }} OAUTH_CLIENT_SECRET: ${{ secrets.DILA_OAUTH_CLIENT_SECRET }} - - name: Fetch CC index from CDTN - run: | - curl https://cdtnadmindev.blob.core.windows.net/cdtn/agreements.json -o - | jq > data/index.json - name: Get metadata id: metadata