Skip to content

added utf-8 headers #33

added utf-8 headers

added utf-8 headers #33

Workflow file for this run

on:
push:
branches:
- main
jobs:
cd:
name: πŸš€ Deploy via SSH
runs-on: ubuntu-latest
steps:
- name: πŸ“š Checkout repository
uses: actions/checkout@v3
- name: ⏰ Get current date
id: date
run: echo "now=$(date +'%d-%m-%Y')" >> $GITHUB_OUTPUT
- name: ⛏️ Setup PNPM
uses: pnpm/action-setup@v2
with:
version: latest
- name: ⛏️ Setup node
uses: actions/setup-node@v3.4.1
with:
node-version: '18.x'
cache: 'pnpm'
- name: πŸ—‚οΈ Install packages
run: pnpm install --frozen-lockfile
- name: πŸ”„ Sveltekit sync
run: pnpm sync
- name: πŸš€ Build
run: pnpm build
env:
PUBLIC_PUBLISH_DATE: ${{ steps.date.outputs.now }}
PUBLIC_COMMIT_ID: ${{ github.sha }}
- name: πŸ“ SSH Copy to production server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SFTP_HOST }}
username: ${{ secrets.SFTP_USER }}
password: ${{ secrets.SFTP_PWD }}
port: 22
source: "./build/*"
target: "./www/"