Skip to content

Fix permalink for async execution guide (#230) #10

Fix permalink for async execution guide (#230)

Fix permalink for async execution guide (#230) #10

Workflow file for this run

name: Deploy Site
on:
push:
branches:
- main
paths:
- 'docs/**'
- '.github/workflows/site.yml'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 22
- name: Setup Rclone
uses: AnimMouse/setup-rclone@v1
with:
rclone_config: ${{ secrets.RCLONE_CONFIG }}
- name: Install dependencies
run: npm ci
- name: Build Site
run: npm run --workspace=docs build
- run: rclone sync docs/_site remote:thisrobot.life
- name: Invalidate CDN
uses: chetan/invalidate-cloudfront-action@master
env:
DISTRIBUTION: ${{ secrets.DISTRIBUTION }}
PATHS: '/*'
AWS_REGION: 'us-east-1'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}