Skip to content

Merge pull request #73 from ovn-org/dist-docs-branch-22.03 #70

Merge pull request #73 from ovn-org/dist-docs-branch-22.03

Merge pull request #73 from ovn-org/dist-docs-branch-22.03 #70

Workflow file for this run

name: publish-push
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create deploy key to push
run: |
echo '=================== Create deploy key to push ==================='
set -x
mkdir $HOME/.ssh
ssh-keyscan -t rsa github.com > $HOME/.ssh/known_hosts
echo "${GIT_DEPLOY_KEY}" > $HOME/.ssh/id_rsa
chmod 400 $HOME/.ssh/id_rsa
git config --global user.email "ovn-org@website-ci"
git config --global user.name "OVN Website CI"
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
- name: Make the static files
run: make static
- name: Deploy
run: ./scripts/publish