Remove GitHub actions workflow

Now I can deploy manually using Netlify CLI:

    yarn add netlify-cli
    netlify login  # login to Netlify
    netlify link  # link the directory to the site
    # deploy, omit "--prod" if you want to preview
    netlify deploy --dir=_site --prod
This commit is contained in:
Dimitri Lozeve 2020-11-10 09:13:45 +01:00
parent bac177d458
commit 343ceabdcd
3 changed files with 6 additions and 30 deletions

View file

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

6
.gitignore vendored
View file

@ -4,3 +4,9 @@ _cache/
bib/auto/
*/ltximg/
_site/
# Netlify CLI and related
.netlify/
package.json
yarn.lock
node_modules/

View file

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