diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 0000000..0324c30 --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -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' \ No newline at end of file diff --git a/.gitignore b/.gitignore index 9f11b75..c39fa75 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .idea/ +public/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 560082c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,32 +0,0 @@ -language: python -python: - - "3.6" -# Handle git submodules yourself -git: - submodules: false -# Use sed to replace the SSH URL with the public URL, then initialize submodules -before_install: - - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules - - git submodule update --init --recursive -install: - - wget https://github.com/gohugoio/hugo/releases/download/v0.58.3/hugo_0.58.3_Linux-64bit.deb -O /tmp/hugo.deb && sudo dpkg -i /tmp/hugo.deb - - pip install Pygments - - rm -rf public 2> /dev/null -script: - - hugo -deploy: - - provider: s3 - access_key_id: AKIAIIORSR4VN3YQY2YQ - secret_access_key: - secure: p8uHkcgIoVpmTIJmaFTNeO9EHZ6sQHPrlA93IdDE7RJ1T+OfABdyIXdkTzjIUC/x/Hsj+0CjqjtV8CAzSpANvQe7R/O415FMKhqIAk5yLyLZcKb8tT2ZkRS37rUHqHC6M4N41Saax61mCApLAr4OPy45wANQgmOCPXmozbN9Nh5udrImrBrAsAeM92USxfcYV4KXqAuo9+oFrB96m9jWO3sepyM1mmbz2J7dXB7EkuwdkWhSQZH9Rn3wy5aXO1uShABEx/AqtduWPTQzN484JzsC39j0hWZbOTR2VWgnayda/bn7F34Pz3IGK7zf5iBmskxP4Ekc+SatjM8i2eJMCN6XEiQFRzPEE2On/5fQ9JKFEP/4xrOa9DEXAavvWh/V+YKhgUE0S3yn5bM8BvymYaPoXBFfpX9dOw4r97UK7w1JEyDgx18mZO8fNr8W6woBgJO4E9MFTq/7mR+cAQBGy6DCVVpgeFpuvnDJ24vugP5qbfR85DzMZHKdaOsDqyxsv7Uiamb4B/k2ihHUznmpjkgeXb2y7k96MPiy0oKKGrMZfPSmbKDDca1ZZLDJSdPElKNmlCQ5/mwnPE595qIv5MQ78MnmcQSLtkn8y74GDjvKmfwFEAP4O7b8r8ogaK6V5KYNwZPYE5MUZy2SyfjJjJMJCfNz+ACuu1UwRyqf4o0= - bucket: rovercode-user-docs - local_dir: public - acl: public_read - skip_cleanup: true - region: us-east-2 - on: - repo: rovercode/user-docs - branch: master -notifications: - slack: - secure: UFJU+UvLQD/BdIUnR+ntmVDwtDn5iN3eNhnKlDky+13AEmceXd7R47XujYOmVZ9yNns8LJiR1585SKwi0OrIKjAe2Ja6wTn8kDzrCHcaLiA6w89ogqbeIYACz+EmDP2c1N9YSIkylZRMVz44aZrit2K8bpj/lMaYCWaiWElVoSm7szmbEIMoBZpfPpVkvngadsIHx6oFJlN4BZQTa/CwG/xfC3CFHtViSGbW9B+515ihQvE/w8k6COpSFd6wxVvUcBWKuIdwmokmYfF0eLd6TMOua+ogcyu6EP2qtHl4K2EWRth43QFW2TXjtz682m0uir9uIiqKfFZMCVvEBueRMYDHj4LFcA5z/btBcE9PqN/E7Ar6j8ZEV3qa+jqQe/42+ey97zl6dCLL9ksxFqno3MRTzIWH34QEyPqHN3HxtkLpfEy267OtNfMUFm0I85GGBn9G2xpF32bsqkYksxx9Fxq1ytjaukxVdseN/oVR0G0nnXrCr0/qL2Ixxp7OhGICCNc+eNwPH29P84sMfPdZ3NiZ8+Gyp8KCFHPdKgUPAz1nGp1Gz1JX6J6QeygHOFQ1raOsPdcd4LI4QjjiLTlGoAox6iM+s+JjEc7sWOhfVlFMXjp4162O4xKZ6Tes5BbV6THdNnoQvBZ4LVJaz1gJW1ONqZT2r+sGmamAjlR/U9o= diff --git a/static/css/theme-rovercode.css b/static/css/theme-rovercode.css index 2100d6d..d4c2689 100644 --- a/static/css/theme-rovercode.css +++ b/static/css/theme-rovercode.css @@ -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 */