Skip to content

Commit f998be0

Browse files
committed
Removed trailing spaces from main.yml
1 parent 7fb9300 commit f998be0

File tree

1 file changed

+30
-32
lines changed

1 file changed

+30
-32
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,40 @@
11
# This is a basic workflow to help you get started with Actions
22

33
name: Github Pages Deploy
4-
env:
5-
API_KEY: ${{ secrets.API_KEY }}
6-
# Controls when the action will run.
4+
env:
5+
API_KEY: ${{ secrets.API_KEY }}
6+
# Controls when the action will run.
77
on:
8-
# Triggers the workflow on push or pull request events but only for the master branch
9-
push:
10-
branches: [ master ]
11-
12-
# Allows you to run this workflow manually from the Actions tab
13-
workflow_dispatch:
8+
# Triggers the workflow on push or pull request events but only for the master branch
9+
push:
10+
branches: [master]
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
1414

1515
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1616
jobs:
17-
# This workflow contains a single job called "build"
18-
build:
19-
# The type of runner that the job will run on
20-
runs-on: ubuntu-latest
21-
22-
strategy:
23-
matrix:
24-
node-version: [14.x]
25-
17+
# This workflow contains a single job called "build"
18+
build:
19+
# The type of runner that the job will run on
20+
runs-on: ubuntu-latest
21+
22+
strategy:
23+
matrix:
24+
node-version: [14.x]
2625

27-
# Steps represent a sequence of tasks that will be executed as part of the job
28-
steps:
29-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30-
- name: Checkout
31-
uses: actions/checkout@v2
26+
# Steps represent a sequence of tasks that will be executed as part of the job
27+
steps:
28+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29+
- name: Checkout
30+
uses: actions/checkout@v2
3231

33-
# Runs commands using the runners shell
34-
- name: Install and Build
35-
run: npm install && npm run build
36-
37-
- name: Deploy
38-
uses: JamesIves/github-pages-deploy-action@4.1.3
39-
with:
40-
branch: gh-pages # The branch the action should deploy to.
41-
folder: build # The folder the action should deploy.
32+
# Runs commands using the runners shell
33+
- name: Install and Build
34+
run: npm install && npm run build
4235

36+
- name: Deploy
37+
uses: JamesIves/github-pages-deploy-action@4.1.3
38+
with:
39+
branch: gh-pages # The branch the action should deploy to.
40+
folder: build # The folder the action should deploy.

0 commit comments

Comments
 (0)