Skip to content

Commit e19761a

Browse files
committed
update to new worklows
1 parent 0b505b2 commit e19761a

File tree

4 files changed

+47
-99
lines changed

4 files changed

+47
-99
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,16 @@ name: Main Workflows
22

33
on:
44
push:
5-
branches: ["main"]
5+
branches: ["main","master"]
66
repository_dispatch:
77
types: [custom-event]
88
workflow_dispatch:
9+
pull_request:
10+
branches: ["main","master"]
911

10-
permissions:
11-
contents: write
12-
pages: write
13-
14-
1512
jobs:
1613
call_env_workflow:
1714
uses: computorg/workflows/.github/workflows/global-env.yml@main
18-
secrets:
19-
token: ${{ secrets.GITHUB_TOKEN }}
20-
with:
21-
config-path: './config/quarto_config.yml'
2215
call_quartopublish_workflow:
2316
uses: computorg/workflows/.github/workflows/publish-render.yml@main
2417
needs: call_env_workflow
25-
with:
26-
config-path: './config/quarto_config.yml'
27-
secrets:
28-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/build.yml~

Lines changed: 0 additions & 39 deletions
This file was deleted.

_quarto.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,46 @@
11
project:
22
title: "template-computo-python"
3+
4+
title: "Template for contribution to Computo"
5+
subtitle: "Example dedicated to `Python` users"
6+
author:
7+
- name: Jane Doe
8+
corresponding: true
9+
email: janedoe@nowhere.moon
10+
url: https://janedoe.someplace.themoon.org
11+
orcid: 0000-0000-0000-0000
12+
affiliations:
13+
- name: Name of Affiliation one
14+
department: Statistics
15+
url: https://someplace.themoon.org
16+
- name: John Doe
17+
email: johndoe@nowhere.moon
18+
url: https://johndoe.someplace.themoon.org
19+
orcid: 0000-0000-0000-0000
20+
affiliations:
21+
- name: Name of Afficiliation two
22+
department: Computer Science
23+
url: https://someplace.themoon.org
24+
date: last-modified
25+
date-modified: last-modified
26+
description: |
27+
This document provides a template based on the [`quarto`](https://quarto.org/) system for contributions to Computo, using the [`quarto journal extension`](https://github.com/computorg/computo-quarto-extension), the Jupyter kernel (Python user) and `venv+pip` to set-up the dependencies.
28+
abstract: >+
29+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur posuere vestibulum facilisis. Aenean pretium orci augue, quis lobortis libero accumsan eu. Nam mollis lorem sit amet pellentesque ullamcorper. Curabitur lobortis libero eget malesuada vestibulum. Nam nec nibh massa. Pellentesque porttitor cursus tellus. Mauris urna erat, rhoncus sed faucibus sit amet, venenatis eu ipsum.
30+
keywords: [key1, key2, key3]
31+
citation:
32+
type: article-journal
33+
container-title: "Computo"
34+
doi: "xxxx"
35+
url: https://computo.sfds.asso.fr/template-computo-quarto
36+
publisher: "Société Française de Statistique"
37+
issn: "2824-7795"
38+
bibliography: references.bib
39+
github-user: computorg
40+
repo: "template-computo-python"
41+
draft: true # set to false once the build is running
42+
published: false # will be set to true once accepted
43+
format:
44+
computo-html: default
45+
computo-pdf: default
46+
jupyter: python3

template-computo-python.qmd

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,3 @@
1-
---
2-
title: "Template for contribution to Computo"
3-
subtitle: "Example dedicated to `Python` users"
4-
author:
5-
- name: Jane Doe
6-
corresponding: true
7-
email: janedoe@nowhere.moon
8-
url: https://janedoe.someplace.themoon.org
9-
orcid: 0000-0000-0000-0000
10-
affiliations:
11-
- name: Name of Affiliation one
12-
department: Statistics
13-
url: https://someplace.themoon.org
14-
- name: John Doe
15-
email: johndoe@nowhere.moon
16-
url: https://johndoe.someplace.themoon.org
17-
orcid: 0000-0000-0000-0000
18-
affiliations:
19-
- name: Name of Afficiliation two
20-
department: Computer Science
21-
url: https://someplace.themoon.org
22-
date: last-modified
23-
date-modified: last-modified
24-
description: |
25-
This document provides a template based on the [`quarto`](https://quarto.org/) system for contributions to Computo, using the [`quarto journal extension`](https://github.com/computorg/computo-quarto-extension), the Jupyter kernel (Python user) and `venv+pip` to set-up the dependencies.
26-
abstract: >+
27-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur posuere vestibulum facilisis. Aenean pretium orci augue, quis lobortis libero accumsan eu. Nam mollis lorem sit amet pellentesque ullamcorper. Curabitur lobortis libero eget malesuada vestibulum. Nam nec nibh massa. Pellentesque porttitor cursus tellus. Mauris urna erat, rhoncus sed faucibus sit amet, venenatis eu ipsum.
28-
keywords: [key1, key2, key3]
29-
citation:
30-
type: article-journal
31-
container-title: "Computo"
32-
doi: "xxxx"
33-
url: https://computo.sfds.asso.fr/template-computo-quarto
34-
publisher: "Société Française de Statistique"
35-
issn: "2824-7795"
36-
bibliography: references.bib
37-
github-user: computorg
38-
repo: "template-computo-python"
39-
draft: true # set to false once the build is running
40-
published: false # will be set to true once accepted
41-
format:
42-
computo-html: default
43-
computo-pdf: default
44-
jupyter: python3
45-
---
46-
471
# Introduction
482

493
## About this document

0 commit comments

Comments
 (0)