File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
99on : push
1010name : Publish Website
1111jobs :
@@ -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
7272Make sure you have an npm script named 'build'. This config should work for most node built websites
73- ``` shell
73+ ``` yml
7474on : push
7575name : Build and Publish Front End Framework Website
7676jobs :
@@ -105,7 +105,7 @@ jobs:
105105
106106### Log only dry run: Use this mode for testing
107107Ouputs a list of files that will be created/modified to sync your source without making any actual changes
108- ``` shell
108+ ` ` ` yml
109109on : push
110110name : Publish Website Dry Run
111111jobs :
@@ -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
140140action "FTP-Deploy-Action" {
141141 uses = "SamKirkland/FTP-Deploy-Action@master"
142142 secrets = ["FTP_USERNAME", "FTP_PASSWORD", "FTP_SERVER"]
You can’t perform that action at this time.
0 commit comments