Skip to content

chore: update console.json (#6) #3

chore: update console.json (#6)

chore: update console.json (#6) #3

Workflow file for this run

name: Deploy to Prod
on:
workflow_dispatch:
push:
branches:
- gh-pages
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Setup SSH Key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.SSH_CONFIG }}" > ~/.ssh/config
chmod 600 ~/.ssh/{id_rsa,config}
shell: bash
- name: Deploy via SSH
run: |
ssh prod "
cd /opt/www/api.infini.sh &&
git pull -q origin gh-pages &&
git log -n 1 --format=%h,%ci,%an,%s
"
shell: bash