reintegrate deployments ci
diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
index 37f16f4..d02f592 100644
--- a/bitbucket-pipelines.yml
+++ b/bitbucket-pipelines.yml
@@ -1,7 +1,18 @@
-clone:
- depth: full
pipelines:
- default:
- - step:
- script:
- - git push --mirror [email protected]:jottocraft/dtps.git
\ No newline at end of file
+ branches:
+ main:
+ - parallel:
+ - step:
+ name: Mirror to GitHub
+ clone:
+ depth: full
+ script:
+ - git push --mirror [email protected]:jottocraft/dtps.git
+ - step:
+ name: Deploy to production
+ deployment: production
+ image: node:16
+ script:
+ - npm ci
+ - npm run build
+ - npx wrangler pages publish build --project-name=dtps
\ No newline at end of file