Skip to content

fix: πŸ› Add article preview for main feed #22

fix: πŸ› Add article preview for main feed

fix: πŸ› Add article preview for main feed #22

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Zola
run: |
sudo snap install --edge zola
- name: Run Zola
run: |
zola build
- name: Configure SSH
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Deploy to Website
run: |
ssh-keyscan -H ${{secrets.DEPLOY_SERVER}} > ~/.ssh/known_hosts
rsync -avx --exclude .DS_Store public ${{ secrets.TARGET }}