Skip to content

Commit

Permalink
Migration to GitHub Actions (#6704)
Browse files Browse the repository at this point in the history
* Added workflow file
* Removed travis build
  • Loading branch information
Tbaile committed Oct 12, 2022
1 parent 46cf53f commit c6d8c4a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Trigger docs build
on:
push:
schedule:
- "0 0 * * 1"
jobs:
trigger:
name: Trigger webhook
runs-on: ubuntu-22.04
env:
readthedocs_token: ${{ secrets.readthedocs_token }}
steps:
- if: ${{ env.readthedocs_token != '' }}
run: |
curl -s -X POST \
-d "branches=${{ github.ref_name }}" \
-d "token=${{ env.readthedocs_token }}" \
https://readthedocs.org/api/v2/webhook/nethserver-devel/49560/
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit c6d8c4a

Please sign in to comment.