From a7eb902e6f79f4666f9d664d7f5700cd221e41e2 Mon Sep 17 00:00:00 2001 From: wgroeneveld Date: Tue, 26 Apr 2022 11:30:47 +0200 Subject: [PATCH] get rid of workflow, use pre-commit hook instead --- .github/workflows/main.yml | 39 -------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 88e93df5..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: CI - -on: - push: - branches: [ master ] - workflow_dispatch: - schedule: - - cron: '45 * * * *' - -env: - WEBMENTION_TOKEN: ${{secrets.WEBMENTION_TOKEN}} - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn config get cacheFolder)" - - - uses: actions/cache@v2 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - - name: yarn jamstack build - run: | - yarn install - yarn run jamstack - - - name: commit generated hugo stuff - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: jamstack update metadata