Skip to content

Commit f8ee04f

Browse files
committed
Add Github Actions deploy
1 parent f99ba96 commit f8ee04f

File tree

4 files changed

+38
-33
lines changed

4 files changed

+38
-33
lines changed

.github/workflows/deploy.yaml

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