You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/08/17 08:10:09 UTC

[cordova-docs] 02/03: ci!: remove travis ci deployment

This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch feat/migrate-to-gh-actions
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git

commit fd20a4e25e6e073fbdcedb75491ea6af404e347c
Author: Erisu <el...@gmail.com>
AuthorDate: Tue Aug 17 17:07:16 2021 +0900

    ci!: remove travis ci deployment
---
 .travis.yml         | 20 --------------------
 tools/bin/deploy.sh | 24 ------------------------
 2 files changed, 44 deletions(-)

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 5b66480..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-language: node_js
-node_js: 14
-sudo: false
-
-install:
-  - npm install
-  - bundle install
-
-script:
-  - npm test
-
-before_deploy:
-  - travis_wait 30 npm run build
-
-deploy:
-  skip_cleanup: true
-  provider: script
-  script: bash tools/bin/deploy.sh
-  on:
-    branch: master
diff --git a/tools/bin/deploy.sh b/tools/bin/deploy.sh
deleted file mode 100755
index d465fc1..0000000
--- a/tools/bin/deploy.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-svn_url=https://svn.apache.org/repos/asf/cordova/site
-
-svn_q() { svn --quiet "$@"; }
-
-svn_with_auth() {
-    [ $svn_username ] && [ $svn_pass ] || {
-        echo 'ERROR: No SVN credentials given in $svn_username and $svn_pass'
-        exit 1
-    }
-    svn_q --non-interactive --no-auth-cache \
-          --username="$svn_username" --password="$svn_pass" "$@"
-}
-
-echo "Deploying website and docs to $svn_url"
-cd ..
-svn_q checkout "$svn_url" cordova-website
-cp -R cordova-docs/build-prod/. cordova-website/public/
-cd cordova-website
-svn_q add --force .
-svn_with_auth commit -m "Updated docs"

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org