diff --git a/.github/workflows/spl_action.txt b/.github/workflows/spl_action.txt new file mode 100644 index 00000000..6f74b550 --- /dev/null +++ b/.github/workflows/spl_action.txt @@ -0,0 +1,28 @@ +# on: +# push: +# branches: [master] +# pull_request: +# branches: [master] + +# jobs: +# build: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# name: "importing all the document" +# - uses: actions/setup-node@v2 +# with: +# node-version: '16' +# name: "installing the node.js with version 16" +# - run: .travis/affects.sh docs/ .travis || exit 0 +# if: ${{ github.event_name == ('push' || 'pull_request')}} && ${{github.ref == 'master'}} +# name: "Build Docs" +# - run: | +# cd docs/ +# source .travis/before_install.sh +# npm ci +# source .travis/script.sh +# env: +# VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + + diff --git a/.github/workflows/spl_action.yml b/.github/workflows/spl_action.yml deleted file mode 100644 index 1c22a285..00000000 --- a/.github/workflows/spl_action.yml +++ /dev/null @@ -1,28 +0,0 @@ -on: - push: - branches: [master] - pull_request: - branches: [master] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - name: "importing all the document" - - uses: actions/setup-node@v2 - with: - node-version: '16' - name: "installing the node.js with version 16" - - run: .travis/affects.sh docs/ .travis || exit 0 - if: ${{ github.event_name == ('push' || 'pull_request')}} && ${{github.ref == 'master'}} - name: "Build Docs" - - run: | - cd docs/ - source .travis/before_install.sh - npm ci - source .travis/script.sh - env: - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - -