Skip to content

Commit 67b08b0

Browse files
committed
Refactor CI workflow and update documentation on archiving and artifacts
1 parent 55e7409 commit 67b08b0

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

.github/workflows/quarto-publish.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ jobs:
8585
run: |
8686
npx @divriots/jampack ./_site
8787
88-
- name: Upload Built Artifacts
89-
uses: actions/upload-artifact@v4
90-
with:
91-
name: built-site
92-
path: _site
93-
9488
- name: Upload static files as artifact
9589
id: deployment
9690
uses: actions/upload-pages-artifact@v4 # or specific "vX.X.X" version tag for this action

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ Place new files accordingly.
105105
- Run and validate scripts in `src/`, `build/`, and `analysis/`
106106
- Confirm `.github/workflows/` still pass for changes
107107

108+
**Archiving note**: CI artifacts are short-lived and for debugging only. GitHub Pages is a delivery channel. Long-term preservation uses GitHub Releases (site archive) and Zenodo for DOI-backed archival.
109+
108110
## 9) GitHub Features and Security (Project instances)
109111

110112
- **Enable GitHub Security Alerts** and Dependabot updates (Repository → Security).

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ Conventional data publication as static supplementary files offers limited repro
3838
- Licensed under [AGPL 3.0](https://www.gnu.org/licenses/agpl-3.0.html) and [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed) according to [The Turing Way](https://the-turing-way.netlify.app/reproducible-research/rdm/rdm-sharing.html#step-3-choose-a-licence-and-link-to-your-paper-and-code)
3939
- Template for reporting data issues via `github/ISSUE_TEMPLATE/data_issue_report.yml`
4040

41+
### Archiving and Artifacts
42+
43+
- CI artifacts are short-lived and intended for debugging workflows, not preservation
44+
- GitHub Pages is a delivery channel for the site, not a long-term archive
45+
- Releases include a `site.tar.gz` build artifact for long-term access to the rendered site
46+
- Zenodo integration provides DOI-backed archival of releases
47+
4148
### Documentation
4249

4350
- `README.md` following [www.makeareadme.com](https://www.makeareadme.com/) and [The Turing Way](https://book.the-turing-way.org/project-design/pd-overview/project-repo/project-repo-readme)

README.template.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ _Zenodo_ provides an [API (REST & OAI-PMH)](https://developers.zenodo.org/) to a
4949
curl -i https://zenodo.org/api/records/ZENODO_RECORD
5050
```
5151

52+
## Archiving and Artifacts
53+
54+
- CI artifacts are short-lived and intended for debugging workflows, not preservation
55+
- GitHub Pages is a delivery channel for the site, not a long-term archive
56+
- Releases include a `site.tar.gz` build artifact for long-term access to the rendered site
57+
- Zenodo integration provides DOI-backed archival of releases
58+
5259
## Support
5360

5461
This project is maintained by [@USERNAME](https://github.com/USERNAME). Please understand that we can't provide individual support via email. We also believe that help is much more valuable when it's shared publicly, so more people can benefit from it.

TODO.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Complete the following steps after creating your project from this template to c
1919
- [ ] **Set Up Zenodo Integration**: Follow the [GitHub guide for Zenodo integration](https://docs.github.com/en/repositories/archiving-a-github-repository/referencing-and-citing-content) to enable automatic archiving and obtain a DOI for your repository.
2020
- [ ] **Set Up Zenodo DOI Badge**: Replace `GITHUB_REPO_ID` with the repository ID from `https://api.github.com/repos/USERNAME/REPO_NAME` (look for the `id` field in the JSON response). The badge will automatically display your Zenodo DOI after the first release.
2121
- [ ] **Add Zenodo DOI to README**: After creating your first release and obtaining a Zenodo DOI, replace `ZENODO_RECORD` in README.md with your actual Zenodo record number (found in your Zenodo deposit URL).
22+
- [ ] **Create a Release Archive**: Publish a GitHub Release so the workflow attaches `site.tar.gz` for long-term access to the rendered site.
2223
- [ ] **Add Favicons**: Generate and add favicon files to the root directory using [favicon.io](https://favicon.io/) or a similar service. Include `favicon.ico`, `favicon-16x16.png`, `favicon-32x32.png`, `apple-touch-icon.png`, and Android icons.
2324
- [ ] **Address TODO Comments**: Search for `TODO` comments throughout all project files using `grep -r "TODO" .` and complete or remove each task as appropriate for your project.
2425
- [ ] **Finalize README**: Once all customization is complete, delete the template README.md and rename `README.template.md` to `README.md` to make it your project's main README.

0 commit comments

Comments
 (0)