From a6e5d53eb28b39735ff9f345782e99ed724015bb Mon Sep 17 00:00:00 2001 From: Peter Gassner Date: Thu, 6 Feb 2020 16:24:40 +0100 Subject: [PATCH] fix: Fix build and deployment --- .github/workflows/gh-pages.yml | 23 +++++++++++++++++++++++ .travis.yml | 11 ----------- package-lock.json | 2 +- 3 files changed, 24 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/gh-pages.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 00000000..6b6c5346 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,23 @@ +name: GitHub Pages +on: + push: + branches: + - master +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + persist-credentials: false + - name: Install dependencies + run: npm install + - name: Build + run: npm run build + - name: Deploy + uses: JamesIves/github-pages-deploy-action@releases/v3 + with: + ACCESS_TOKEN: ${{ secrets.ACTIONS_DEPLOY_KEY }} + BRANCH: gh-pages + FOLDER: build diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 962c629b..00000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: node_js -node_js: - - "8" -script: "npm run build" -deploy: - provider: pages - skip_cleanup: true - github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard - local_dir: build - on: - branch: master \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 594bf9d9..115d34c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "sszvis", - "version": "2.0.2", + "version": "2.1.0", "lockfileVersion": 1, "requires": true, "dependencies": {