Skip to content

Commit 8639451

Browse files
committed
Add Actions workflow for Grebedoc deployment.
1 parent e538c00 commit 8639451

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/pages.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
push:
3+
branches: [main]
4+
workflow_dispatch:
5+
6+
name: Pages
7+
jobs:
8+
pages:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out content
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- name: Upload pages to Grebedoc
16+
run: |
17+
set -o pipefail
18+
tar c * | zstd -1 | curl https://amaranth-lang.org/ -X PUT -H "Authorization: Pages ${{ secrets.GREBEDOC_TOKEN }}" -H "Content-Type: application/x-tar+zstd" -T -

0 commit comments

Comments
 (0)