Skip to content

Commit

Permalink
Add publishing the website from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danicheg committed Jan 7, 2024
1 parent ff17a6b commit 6404a68
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy Website
on:
push:
branches: [main]
# uncomment this once the website publishes well
# tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- name: Publish ${{ github.ref }}
run: sbt docs/docusaurusPublishGhpages
env:
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}

0 comments on commit 6404a68

Please sign in to comment.