Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Merge pull request #26 from pilcrowOnPaper/fix-node-rs-dependecy #78

Merge pull request #26 from pilcrowOnPaper/fix-node-rs-dependecy

Merge pull request #26 from pilcrowOnPaper/fix-node-rs-dependecy #78

Workflow file for this run

name: "Publish docs"
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: setup actions
uses: actions/checkout@v3
- name: install malta
working-directory: docs
run: |
curl -o malta.tgz -L https://github.com/pilcrowonpaper/malta/releases/latest/download/linux-amd64.tgz
tar -xvzf malta.tgz
- name: build
working-directory: docs
run: ./linux-amd64/malta build
- name: upload pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: "docs/dist"
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1