Skip to content

Commit 123d0f7

Browse files
author
José Molina Colmenero
authored
Deploy upon merged PR or push to the main branch (#9)
* Add site to README * Deploy when a PR is merged in the default branch
1 parent ad5b214 commit 123d0f7

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/mdbook.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Deploy mdBook site to Pages
33
on:
44
# Runs on pushes targeting the default branch
55
push:
6-
branches: [$default-branch]
6+
branches:
7+
- main
78

89
# Allows you to run this workflow manually from the Actions tab
910
workflow_dispatch:
@@ -53,4 +54,4 @@ jobs:
5354
steps:
5455
- name: Deploy to GitHub Pages
5556
id: deployment
56-
uses: actions/deploy-pages@v4
57+
uses: actions/deploy-pages@v4

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Compilation of the coding best practices for Polkadot SDK, presented as a mdbook.
44

5+
## Live site
6+
7+
🔗 https://libro.blockdeep.dev
8+
59
## Installation
610

711
```shell

0 commit comments

Comments
 (0)