fix tagline #198
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to build your docs with oranda (and mdbook) | |
# and deploy them to Github Pages | |
name: Web | |
# We're going to push to the gh-pages branch, so we need that permission | |
permissions: | |
contents: write | |
# What situations do we want to build docs in? | |
# All of these work independently and can be removed / commented out | |
# if you don't want oranda/mdbook running in that situation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
web: | |
name: Build and deploy site and docs | |
runs-on: ubuntu-latest | |
steps: | |
# Setup | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: npm install | |
working-directory: www | |
- run: npm run build | |
working-directory: www | |
- uses: burnett01/[email protected] | |
with: | |
switches: -rv --delete | |
path: www/.vitepress/dist/ | |
remote_path: /home/pomdtr.me/smallweb/sunbeam-rsync | |
remote_host: ssh.smallweb.run | |
remote_user: pomdtr.me | |
remote_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
# - name: Deploy to Github Pages | |
# uses: JamesIves/[email protected] | |
# with: | |
# branch: gh-pages | |
# folder: www/.vitepress/dist | |
# token: ${{ secrets.GITHUB_TOKEN }} |