Skip to content

Commit

Permalink
Merge branch 'main' into faq
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdesmet committed Dec 11, 2024
2 parents 0d57c66 + 6a903e9 commit aa1c293
Show file tree
Hide file tree
Showing 56 changed files with 1,676 additions and 1,833 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
19 changes: 19 additions & 0 deletions .github/workflows/remove-old-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow removes old artifacts created by other workflows.
name: Remove old artifacts

on:
schedule:
# Every day at 1am
- cron: '0 1 * * *'

jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '1 days'
skip-recent: 5
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ _site
.sass-cache
.jekyll-cache
.jekyll-metadata
Gemfile.lock

# Mac OS
.DS_Store
22 changes: 22 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
cff-version: 1.2.0
message: 'To cite "Camtrap DP" in publications use:'
type: software
license: MIT
title: Camera Trap Data Package (Camtrap DP)
version: 1.0.1
authors:
- given-names: Peter
family-names: Desmet
email: [email protected]
affiliation: Research Institute for Nature and Forest (INBO)
orcid: https://orcid.org/0000-0002-8442-8025
- family-names: Bubnicki
given-names: Jakub W.
email: [email protected]
affiliation: Mammal Research Institute, Polish Academy of Sciences & Open Science Conservation Fund
orcid: https://orcid.org/0000-0002-2064-3113
- name: Camtrap DP Development Team
repository-code: https://github.com/tdwg/camtrap-dp
url: https://camtrap-dp.tdwg.org/
date-released: '2024-08-21'
doi: 10.5281/zenodo.10068760
260 changes: 0 additions & 260 deletions Gemfile.lock

This file was deleted.

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Camtrap DP

**Camera Trap Data Package** (or **Camtrap DP** for short) is a community developed data exchange format for camera trap data.
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10068759.svg)](https://doi.org/10.5281/zenodo.10068759)

**Camera Trap Data Package** (Camtrap DP) is a community-developed data exchange format for camera trap data.

## Usage

See the [documentation website](https://tdwg.github.io/camtrap-dp/).
See the [documentation website](https://camtrap-dp.tdwg.org).

## Contribute

Expand Down
Loading

0 comments on commit aa1c293

Please sign in to comment.