Skip to content

build(deps): bump prism-react-renderer from 2.0.6 to 2.1.0 (#24) #111

build(deps): bump prism-react-renderer from 2.0.6 to 2.1.0 (#24)

build(deps): bump prism-react-renderer from 2.0.6 to 2.1.0 (#24) #111

Workflow file for this run

# Publish to docs.next-hat.com
name: Publish
on:
push:
branches:
- master
jobs:
deploy:
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v3
- name: Install nanocl CLI
run: |
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.next-hat.com/repo/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/next-hat.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/next-hat.gpg] https://download.next-hat.com/repo/linux/ubuntu stable main" | sudo tee /etc/apt/sources.list.d/next-hat.list > /dev/null
sudo apt-get update
sudo apt-get install -y nanocl=0.1.3
sudo mkdir -p /run/nanocl
sudo chmod 777 /run/nanocl
# - name: Install dependencies
# run: |
# sudo apt-get update
# sudo apt-get install -y sshpass openssh-client
# - name: Bind Unix Socket
# env:
# SSHPASS: ${{ secrets.DEPLOY_PASSWORD }}
# USER: ${{ secrets.DEPLOY_USER }}
# run: |
# sshpass -e ssh -f -o StrictHostKeyChecking=no -nNT -L /run/nanocl/nanocl.sock:/run/nanocl/nanocl.sock [email protected]
# - name: Build image
# run: nanocl git-repository build docs-next-hat
# - name: Patch cargo with new image
# run: nanocl cargo patch docs-next-hat set --image docs-next-hat:master