Skip to content

Add analytics.

Add analytics. #26

Workflow file for this run

#name: Build Astro Site
#
#on:
# push:
# branches:
# - master
#
#jobs:
# build:
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
#
# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 22
# cache: 'npm'
#
# - name: Install dependencies
# run: npm install
#
# - name: Build site
# run: npm run build
#
# - name: copy file via ssh key
# uses: appleboy/scp-action@master
# with:
# host: ${{ vars.VPS_IP }}
# username: ${{ vars.VPS_USERNAME}}
# key: ${{ secrets.SSH_PRIVATE_KEY }}
# port: 22
# strip_components: 1
# source: "dist/"
# target: "/var/www/mnprt"
#
# - name: Set up SSH Key and reload nginx
# uses: appleboy/ssh-action@master
# with:
# host: ${{ vars.VPS_IP }}
# username: ${{ vars.VPS_USERNAME }}
# key: ${{ secrets.SSH_PRIVATE_KEY }}
# port: 22
# script: |
# sudo nginx -s reload