Skip to content

Commit ee9eb06

Browse files
authored
Merge pull request #1 from CollabCodeTech/develop
✨ Release version with the module one
2 parents 2d22352 + 56ba11c commit ee9eb06

18 files changed

Lines changed: 921 additions & 0 deletions

.github/workflows/build.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Build EPub
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
convert_via_pandoc:
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Compute tag name
15+
id: compute-tag
16+
run: |
17+
echo Computing next tag number
18+
LASTPATCH=$(git describe --tags | cut -d- -f1 | cut -d. -f3)
19+
PATCH=$(($LASTPATCH+1))
20+
echo "::set-output name=tagname::1.0.${PATCH}"
21+
22+
- name: Build release assets
23+
uses: docker://pandoc/core:2.9
24+
with:
25+
args: >- # allows you to break string into multiple lines
26+
--standalone
27+
--output=react.epub
28+
--metadata title="Curso de React"
29+
--metadata pagetitle="Curso de React"
30+
--metadata author="Marco Bruno"
31+
--metadata author="Raphael Freitas Pereira"
32+
--metadata lang="pt-BR"
33+
--epub-cover-image img/cover.jpg
34+
--epub-metadata meta.yaml
35+
modulo-01/README.md
36+
modulo-01/modulo-01-exercicio-01.md
37+
modulo-01/modulo-01-exercicio-02.md
38+
modulo-01/modulo-01-exercicio-03.md
39+
modulo-01/modulo-01-exercicio-04.md
40+
modulo-01/modulo-01-exercicio-05.md
41+
modulo-01/modulo-01-exercicio-06.md
42+
modulo-01/modulo-01-exercicio-07.md
43+
modulo-01/modulo-01-extra-01.md
44+
45+
- name: List files
46+
run: ls -las
47+
48+
- name: Create release
49+
uses: ncipollo/release-action@v1
50+
with:
51+
token: ${{ secrets.GITHUB_TOKEN }}
52+
tag: ${{ steps.compute-tag.outputs.tagname }}
53+
commit: main
54+
artifacts: './react.epub'

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
# Rect Feliz
2+
3+
## Módulo 01 - Base para React Feliz

img/cover.jpg

201 KB
Loading

img/eslint.png

139 KB
Loading

img/ico-config-json-vscode.png

505 Bytes
Loading

img/ico-extensions-vscode.png

564 Bytes
Loading

img/ico-settings.png

764 Bytes
Loading

img/prettier.png

127 KB
Loading

meta.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
title:
2+
- type: main
3+
text: Curso de React
4+
creator:
5+
- role: author
6+
text: Marco Bruno
7+
- role: editor
8+
text: Raphael Freitas Pereira
9+
author:
10+
- name: Marco Bruno
11+
affiliation: CollabCode Tech
12+
- name: Raphael Freitas Pereira
13+
affiliation: CollabCode Tech
14+
date: 2022-03-03
15+
lang: pt-BR
16+
ibooks:
17+
version: 1.0.0
18+
cover-image: img/cover.jpg

modulo-01/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Módulo 01 - Base para React Feliz

0 commit comments

Comments
 (0)