Skip to content

Commit 1d23762

Browse files
committed
shorten action name for visibility
1 parent 328f6d1 commit 1d23762

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

.github/workflows/build.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: main
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v2
16+
17+
- name: Set up quarto
18+
uses: quarto-dev/quarto-actions/setup@v2
19+
with:
20+
tinytex: true
21+
version: pre-release
22+
23+
- name: Install Computo extension for Quarto
24+
run: |
25+
quarto add --no-prompt computorg/computo-quarto-extension
26+
27+
- name: Install Python and Dependencies
28+
uses: actions/setup-python@v4
29+
with:
30+
python-version: '3.10'
31+
cache: 'pip'
32+
- run: pip install -r requirements.txt
33+
34+
- name: Render and Publish
35+
uses: quarto-dev/quarto-actions/publish@v2
36+
with:
37+
target: gh-pages
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Template for contribution to Computo for Python users
33

4-
[![build and deploy](https://github.com/computorg/template-computo-python/actions/workflows/build_n_publish.yml/badge.svg)](https://github.com/computorg/template-computo-python/actions/workflows/build_n_publish.yml)
4+
[![build and deploy](https://github.com/computorg/template-computo-python/actions/workflows/build.yml/badge.svg)](https://github.com/computorg/template-computo-python/actions/workflows/build.yml)
55

66
Documentation and sample of a simple `Python`-based submission for the [Computo journal](https://computorg.github.io), using our Quarto-based template and `venv` for handling dependencies.
77

0 commit comments

Comments
 (0)