Skip to content

Update analyses_test.mdx #1702

Update analyses_test.mdx

Update analyses_test.mdx #1702

Workflow file for this run

name: chemotion_saurus GitHub Actions
on:
push:
jobs:
build_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: "npm"
- name: Build
id: build
run: |
npm install
npm run build --if-present
- name: Deploy
if: steps.build.outcome == 'success' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'skip deploy')
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
run: |
#!/usr/bin/env bash
set -euo pipefail
eval $(ssh-agent -s);
mkdir ~/.ssh/
chmod 700 ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-add ~/.ssh/id_rsa
touch ~/.ssh/known_hosts
ssh-keyscan github.com >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
rsync -e "ssh -o StrictHostKeyChecking=no" -az --delete ./build/ [email protected]:chemotion_saurus/.