diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml new file mode 100644 index 0000000..711d62e --- /dev/null +++ b/.github/workflows/build-docs.yml @@ -0,0 +1,17 @@ +name: GitHub Actions Demo +on: [push] +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v2 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b567925..0000000 --- a/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -jobs: - include: - - stage: build_docs - language: node_js - node_js: - - "12" - before_script: - - npm install -g @redocly/openapi-cli \ - && npm install -g redoc-cli - - npm install -g gh-openapi-docs - script: - - gh-openapi-docs - deploy: - provider: pages - skip-cleanup: true - keep_history: true - github-token: $GITHUB_TOKEN - on: - all_branches: true