Skip to content

Update tools.md

Update tools.md #82

Workflow file for this run

name: Build and Deploy TEI Website
on:
push:
branches:
- main
repository_dispatch:
types: [update-documentation]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: 'recursive'
- name: Update submodule
run: git submodule update --remote src/documentation/Documentation
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Build
run: |
npm install
npx @11ty/eleventy
- name: Deploy
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.TEIWEB_KEY }}
- run: |
ssh -o StrictHostKeyChecking=accept-new ${{ secrets.TEIWEB_USER }}@${{ secrets.TEIWEB_HOST }} uptime
rsync -avz -e ssh --delete dist/ ${{ secrets.TEIWEB_USER }}@${{ secrets.TEIWEB_HOST }}:${{ secrets.TEIWEB_PATH }}