Skip to content

Add Actions workflow for Grebedoc deployment. #3

Add Actions workflow for Grebedoc deployment.

Add Actions workflow for Grebedoc deployment. #3

Workflow file for this run

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