Skip to content

nvm it was Astro's assets fault :p #22

nvm it was Astro's assets fault :p

nvm it was Astro's assets fault :p #22

Workflow file for this run

name: πŸš€ Deploy Website
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: πŸ› οΈ Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: 🚧 Install dependencies
run: bun install
- name: πŸ”§ Building Website
run: bun run -b build --if-present
- name: πŸ“‚ Upload via ftp
uses: sebastianpopp/ftp-action@releases/v2
with:
host: ${{ secrets.FTP_SERVER }}
user: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
localDir: "dist"
remoteDir: "."
forceSsl: true
options: "-c -e --parallel=5 --use-pget=3 --verbose=3 --depth-first"