Skip to content

Commit

Permalink
Added doc website upload script
Browse files Browse the repository at this point in the history
  • Loading branch information
reinout committed Sep 24, 2024
1 parent f6f4c5e commit 247ca7c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions upload-artifact.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
set -e
set -u

# ARTIFACTS_KEY has been set as a secret in the github UI.
ARTIFACT=docs/site.zip
PROJECT=brostar-docs

curl -X POST \
--retry 3 \
-H "Content-Type: multipart/form-data" \
-F key=${ARTIFACTS_KEY} \
-F artifact=@${ARTIFACT} \
-F branch=${GITHUB_REF} \
https://artifacts.lizard.net/upload/${PROJECT}/

0 comments on commit 247ca7c

Please sign in to comment.