Skip to content

Created post about not being able to sleep #493

Created post about not being able to sleep

Created post about not being able to sleep #493

name: Deploy to Production
on:
push:
branches:
- 'main'
jobs:
# spelling:
# name: Check Spelling
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Remove duplicates from and sort wordlist
# run: (/bin/cat .wordlist.txt | /usr/bin/sort | /usr/bin/uniq) > .wordlist.tmp
# - name: Moving cleaned wordlist
# run: /bin/mv .wordlist.tmp .wordlist.txt
# - uses: rojopolis/spellcheck-github-actions@0.5.0
# name: Spellcheck
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.7
- run: /usr/bin/python3 -m pip install --upgrade pip
- run: /usr/bin/python3 -m pip install --upgrade setuptools
- run: /usr/bin/python3 -m pip install mkdocs==1.1.2
- run: /usr/bin/python3 -m pip install --upgrade mkdocs-minify-plugin
- name: Check out main branch
uses: actions/checkout@master
with:
ref: main
- run: git fetch -p
- run: /usr/bin/python3 -m mkdocs gh-deploy -f website/mkdocs.yml -b website
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to Production
uses: fifsky/ssh-action@master
with:
command: cd && cd www && git pull origin website
# && cd ../lightshow.thealmostengineer.com/ && git pull origin websitelights
host: ${{ secrets.HOSTNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT_NUMBER }}
user: ${{ secrets.USERNAME }}
# sitemapush:
# runs-on: ubuntu-latest
# needs: deploy
# steps:
# - name: Sitemap Ping to search engines
# uses: atymic/sitemap-ping-action@master
# with:
# sitemap-url: https://thealmostengineer.com/sitemap.xml
# tests:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-dotnet@v3
# name: Setup .NET Core
# with:
# dotnet-version: '6.x' # SDK Version to use; x will use the latest version of the specified channel
# - name: Run automated tests
# run: dotnet test -c RELEASE --project tests/Almostengr.AlmostengrWebsite.Tests/Almostengr.AlmostengrWebsite.Tests.csproj