Skip to content

Commit 9ec7692

Browse files
committed
Update publish workflow to only deploy changes from the default branch
1 parent 4340643 commit 9ec7692

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v3
2727
- name: Setup Pages
28+
if: github.ref_name == github.event.repository.default_branch
2829
uses: actions/configure-pages@v2
2930
- name: Set up node version
3031
uses: actions/setup-node@v2
@@ -39,6 +40,7 @@ jobs:
3940
with:
4041
path: 'build'
4142
deploy:
43+
if: github.ref_name == github.event.repository.default_branch
4244
environment:
4345
name: github-pages
4446
url: ${{ steps.deployment.outputs.page_url }}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
![coilpack-logo](https://github.com/user-attachments/assets/5f161c5d-3944-413a-869f-26bea39e32c6)
1+
<p align="center">
2+
<img src="https://github.com/user-attachments/assets/5f161c5d-3944-413a-869f-26bea39e32c6" width="400" alt="Coilpack Logo"></a>
3+
</p>
24

35
# Coilpack Documentation
46

docs/guides/using-twig-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Create a new file at `/ee/system/user/templates/default_site/example.group/entry
4343
The [Twig `raw` filter](https://twig.symfony.com/doc/3.x/filters/raw.html) is used to prevent escaping the html tags that are part of the RTE output.
4444
:::
4545

46-
For more details check out our documentation on [writing templates](../templates/index.mdx) and the [fieldtypes](../templates/fieldtypes.md) and [tags](../templates/tags.md) that are available for you to use.
46+
For more details check out our documentation on [writing templates](../templates/index.mdx) and the [fieldtypes](../templates/fieldtypes.mdx) and [tags](../templates/tags.md) that are available for you to use.
4747

4848
## Twig functions and filters
4949

docs/templates/fieldtypes/file-grid.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File Grid
22

3-
Contents of a File Grid field are accessed just as a regular Grid field would be, [refer to the Grid field documentation for a full reference](./grid.md). A notable difference is the default File column automatically has a short name of `file`:
3+
Contents of a File Grid field are accessed just as a regular Grid field would be, [refer to the Grid field documentation for a full reference](./grid.mdx). A notable difference is the default File column automatically has a short name of `file`:
44

55
:::note
66
The following examples use a field named `files_field`. This should be replaced with your field name.

docs/templates/generators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Coilpack expands support for [ExpressionEngine's Template Generator](https://doc
66

77
### Control Panel
88

9-
The Channel and Field Manager display a shortname next to each item's title which you can click to copy example template code. This code will be generated using the site's [default template engine](/configuration#default-template-engine). If not specified this will use the Native Template Language so be sure to change this if you wish to copy code in Twig or Blade.
9+
The Channel and Field Manager display a shortname next to each item's title which you can click to copy example template code. This code will be generated using the site's [default template engine](../configuration.md#default-template-engine). If not specified this will use the Native Template Language so be sure to change this if you wish to copy code in Twig or Blade.
1010

1111
:::warning
1212
Due to security restrictions in modern browsers copying code via the shortname is only supported when on HTTPS.

0 commit comments

Comments
 (0)