Skip to content

Commit 54d0306

Browse files
committed
Add Github Actions deploy
1 parent f99ba96 commit 54d0306

File tree

4 files changed

+39
-33
lines changed

4 files changed

+39
-33
lines changed

.github/workflows/deploy.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy Rovercode Deploy
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- actions-debug
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v2
14+
15+
- name: Setup dependencies
16+
run: yarn install --pure-lockfile
17+
18+
- name: Setup Hugo
19+
uses: peaceiris/actions-hugo@v2
20+
with:
21+
hugo-version: '0.68.3'
22+
extended: true
23+
24+
- name: Build
25+
run: hugo
26+
27+
- name: Deploy
28+
if: success()
29+
uses: jakejarvis/s3-sync-action@master
30+
with:
31+
args: --acl public-read
32+
env:
33+
AWS_S3_BUCKET: 'rovercode-user-docs'
34+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
35+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
36+
AWS_REGION: 'us-east-2'
37+
SOURCE_DIR: './public'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.idea/
2+
public/

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

static/css/theme-rovercode.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
--MENU-HEADER-BG-color:#222222; /* Background color of menu header */
1111
--MENU-HEADER-BORDER-color:#eeeeee; /*Color of menu header border */
1212

13-
--MENU-SEARCH-BG-color:#FEAE01; /* Search field background color (by default borders + icons) */
13+
--MENU-SEARCH-BG-color:#444444; /* Search field background color (by default borders + icons) */
1414
--MENU-SEARCH-BOX-color: #eeeeee; /* Override search field border color */
1515
--MENU-SEARCH-BOX-ICONS-color: #eeeeee; /* Override search field icons color */
1616

0 commit comments

Comments
 (0)