Skip to content

Update README.md

Update README.md #3

Workflow file for this run

name: wh:deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
env:
BASEURL: '/projects/soul-of-reason'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: ruby/setup-ruby@v1
# with:
# bundler-cache: true
- name: install
run: bundle
- name: test
run: bundle exec rake test
- name: prod build
run: bundle exec rake reset && bundle exec rake build
- name: deploy
uses: SamKirkland/[email protected]
with:
server: ${{secrets.FTP_SERVER}}
username: ${{secrets.FTP_USERNAME}}@${{secrets.FTP_SERVER}}
password: ${{secrets.FTP_PASSWORD}}
local-dir: ./_site/
server-dir: projects/soul-of-reason/