diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 81415df..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,28 +0,0 @@ -on: [push] -name: build -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-haskell@v1.1 - with: - enable-stack: true - stack-no-global: true - stack-version: 'latest' - - uses: actions/cache@v2 - with: - path: | - ~/.stack - .stack-work - key: ${{ hashFiles('stack.yaml') }}-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('newblog.cabal') }} - - run: stack build - - run: stack exec site build - - uses: netlify/actions/cli@master - if: github.ref == 'refs/heads/master' - with: - args: deploy --dir=_site --prod - env: - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} diff --git a/.gitignore b/.gitignore index 52d669c..1662d52 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,9 @@ _cache/ bib/auto/ */ltximg/ _site/ + +# Netlify CLI and related +.netlify/ +package.json +yarn.lock +node_modules/ diff --git a/README.org b/README.org index bf6a3de..63e5f92 100644 --- a/README.org +++ b/README.org @@ -1,3 +1 @@ * Personal blog - -[[https://app.netlify.com/sites/jolly-visvesvaraya-be2270/deploys][file:https://api.netlify.com/api/v1/badges/69ba87f1-7020-450d-9c01-ca39b0511b1e/deploy-status.svg]]