Compare commits
2 commits
358bdd86e0
...
914dd441c1
| Author | SHA1 | Date | |
|---|---|---|---|
| 914dd441c1 | |||
| 6e8b1fbf51 |
2 changed files with 1695 additions and 1253 deletions
24
.forgejo/workflows/publish.yaml
Normal file
24
.forgejo/workflows/publish.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
name: ci
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build_and_publish:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- uses: actions/setup-node@v4
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: npm install -g bnycdn
|
||||
- run: bnycdn key set default ${{ secrets.BUNNY_API }}
|
||||
- run: bnycdn key set sr2docs ${{ secrets.BUNNY_FTP_PASSWORD }} --type=storages
|
||||
- run: bnycdn cp -R -s sr2docs ./public /sr2docs/
|
||||
- run: bnycdn pz purge -t sr2docs
|
||||
2924
package-lock.json
generated
2924
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue