Skip to content

remove unused styles #10

remove unused styles

remove unused styles #10

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
name: build posts org files and publish
steps:
- uses: purcell/setup-emacs@master
with:
version: 27.2
- uses: actions/checkout@v3
name: website_repo
with:
path: website
- name: compile org files
run: |
pushd website
emacs -Q --script org_publish_posts.el
popd
- name: Create website.zip and upload to netlify
run: |
pushd website/site
# mv notes/theindex.html notes/index.html ;; TODO: merge existing posts/index.html
zip -r website.zip .
curl -H "Content-Type: application/zip" \
-H "Authorization: Bearer ${{ secrets.netlify_token }}" \
--data-binary "@website.zip" \
https://api.netlify.com/api/v1/sites/siddhantcodes.netlify.app/deploys
popd