From 3a72bb43ba965e2c96f4f228061fef43939e03b6 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 6 Oct 2020 22:55:05 +0530 Subject: [PATCH] Adds publish records action --- .github/workflows/publish-records.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-records.yml b/.github/workflows/publish-records.yml index 34a0ecb0f..93a881cd7 100644 --- a/.github/workflows/publish-records.yml +++ b/.github/workflows/publish-records.yml @@ -2,12 +2,26 @@ name: Publish records on: workflow_dispatch: - name: 'Publish all records' + name: 'Publish records' jobs: publish: runs-on: ubuntu-latest env: - HELLO: ${{ secrets.HELLO }} + NC_USER: ${{ secrets.NC_USER }} + NC_API_KEY: ${{ secrets.NC_API_KEY }} + NC_DOMAIN: ${{ secrets.NC_DOMAIN }} + IP_ADDRESS: ${{ secrets.IP_ADDRESS }} steps: - - run: python -c "print('...'.join('$HELLO'.split('o')))" + - uses: actions/checkout@v2 + - uses: borales/actions-yarn@v2.0.0 + with: + cmd: install + - name: Running tests + uses: borales/actions-yarn@v2.0.0 + with: + cmd: test + - name: Publishing records + uses: borales/actions-yarn@v2.0.0 + with: + cmd: publish-records