mirror of
https://github.com/zen-browser/www
synced 2026-04-25 17:14:56 +02:00
43 lines
842 B
YAML
43 lines
842 B
YAML
name: Upload to B-Main
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
upload:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: get pnpm
|
|
run: npm install -g pnpm
|
|
|
|
- name: double check xD
|
|
run: pnpm --version
|
|
|
|
- name: get dependencies
|
|
run: pnpm i
|
|
|
|
- name: buld
|
|
run: pnpm run build
|
|
|
|
- name: Deploy to BunnyCDN
|
|
uses: ayeressian/bunnycdn-storage-deploy@v2.2.4
|
|
with:
|
|
source: "dist"
|
|
destination: ""
|
|
storageZoneName: "${{ secrets.STORAGE_NAME }}"
|
|
storagePassword: "${{ secrets.STORAGE_PASSWORD }}"
|
|
upload: "true"
|
|
remove: "false"
|
|
purgePullZone: "false"
|
|
|
|
|