Skip to content

Merge pull request #554 from plausible/accept-header #1190

Merge pull request #554 from plausible/accept-header

Merge pull request #554 from plausible/accept-header #1190

Workflow file for this run

name: Docusaurus site CI
on:
push:
branches: [ master, upgrade ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '21'
cache: 'npm'
- run: npm install
- run: npm run build
- name: Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
version: '1.50.1'
tags: tag:static-sites
- name: Deploy to Static Sites Host
uses: burnett01/rsync-deployments@6.0.0
with:
switches: -avzr --delete
path: build/
remote_path: /var/www/docs/
remote_host: ${{ secrets.DEPLOY_STATIC_SITE_HOST }}
remote_user: ${{ secrets.DEPLOY_STATIC_SITE_USER }}
remote_key: ${{ secrets.DEPLOY_STATIC_SITE_KEY }}