Skip to content

Commit 67f266c

Browse files
authored
Merge pull request #13 from ctrleffive/patch-1
syntax highlighting types in README changed
2 parents 8bbce4e + f8a41d3 commit 67f266c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Automate deploying websites and more with this GitHub action.
55
![Action](images/action-preview.gif)
66

77
### Usage Example (Your_Project/.github/workflows/main.yml)
8-
```shell
8+
```yml
99
on: push
1010
name: Publish Website
1111
jobs:
@@ -70,7 +70,7 @@ You can use as many arguments as you want, seperate them with a space
7070
## Common Examples
7171
### Build and Publish React/Angular/Vue/Node Website
7272
Make sure you have an npm script named 'build'. This config should work for most node built websites
73-
```shell
73+
```yml
7474
on: push
7575
name: Build and Publish Front End Framework Website
7676
jobs:
@@ -105,7 +105,7 @@ jobs:
105105
106106
### Log only dry run: Use this mode for testing
107107
Ouputs a list of files that will be created/modified to sync your source without making any actual changes
108-
```shell
108+
```yml
109109
on: push
110110
name: Publish Website Dry Run
111111
jobs:
@@ -136,7 +136,7 @@ jobs:
136136
* Note: This will exclude all folders and files that start with `.git` no matter the folder they're in
137137

138138
#### Deprecated main.workflow config (used for beta/legacy apps that haven't been migrated to .yaml workflows yet)
139-
```json
139+
```workflow
140140
action "FTP-Deploy-Action" {
141141
uses = "SamKirkland/FTP-Deploy-Action@master"
142142
secrets = ["FTP_USERNAME", "FTP_PASSWORD", "FTP_SERVER"]

0 commit comments

Comments
 (0)