Skip to content

Add Actions workflow for Grebedoc deployment. #6

Add Actions workflow for Grebedoc deployment.

Add Actions workflow for Grebedoc deployment. #6

Workflow file for this run

on:
push:
branches: [main]
workflow_dispatch:
name: Pages
jobs:
pages:
runs-on: ubuntu-latest
steps:
- name: Check out content
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Upload pages to Grebedoc
run: |
set -o pipefail
tar c * | zstd | curl https://amaranth-lang.org/ -X PUT -H "Authorization: Pages ${{ secrets.GREBEDOC_TOKEN }}" -H "Content-Type: application/x-tar+zstd" -T -