Skip to content

Commit

Permalink
chore: Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham committed Aug 29, 2024
1 parent ad9ea14 commit 944400a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 30 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Build and deploy

on:
pull_request:
Expand All @@ -18,7 +18,23 @@ jobs:
- name: Install mdbook-linkcheck
uses: taiki-e/install-action@mdbook-linkcheck
- run: mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book
retention-days: 1

# Check documentation links aren't broken
link-checker:
uses: argumentcomputer/ci-workflows/.github/workflows/links-check.yml@main
deploy:
if: github.ref_name == 'main' && github.event_name == 'push'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: test
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
24 changes: 0 additions & 24 deletions .github/workflows/publish.yml

This file was deleted.

1 change: 0 additions & 1 deletion CNAME

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Lurk Lab
Copyright (c) 2023 Argument Computer Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 944400a

Please sign in to comment.