Skip to content

Merge pull request #155 from 10up/fix/callouts #90

Merge pull request #155 from 10up/fix/callouts

Merge pull request #155 from 10up/fix/callouts #90

Workflow file for this run

name: Deploy Production Website
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install NPM Dependencies
run: npm ci
- name: Build Assets
run: npm run build
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: unnecessary
config: |
Host *
StrictHostKeyChecking no
- name: Deploy Website
run: rsync -vrxc --delete build/ [email protected]:/var/www/gutenberg.10up.com/