Skip to content

Add Github Actions deploy #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy Rovercode Deploy
on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup dependencies
run: yarn install --pure-lockfile

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.68.3'
extended: true

- name: Build
run: hugo

- name: Deploy
if: success()
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read
env:
AWS_S3_BUCKET: 'rovercode-user-docs'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-2'
SOURCE_DIR: './public'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea/
public/
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion static/css/theme-rovercode.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
--MENU-HEADER-BG-color:#222222; /* Background color of menu header */
--MENU-HEADER-BORDER-color:#eeeeee; /*Color of menu header border */

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

Expand Down