get rid of workflow, use pre-commit hook instead

This commit is contained in:
Wouter Groeneveld 2022-04-26 11:30:47 +02:00
parent 188b2b7727
commit a7eb902e6f
1 changed files with 0 additions and 39 deletions

View File

@ -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