Skip to content

Commit

Permalink
fix: use secret directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay authored and ismay committed Nov 14, 2023
1 parent 2cfa12d commit ff10368
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/rebuild-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'rebuild developer docs'
name: 'dhis2: rebuild developer docs'

on:
push:
Expand All @@ -12,9 +12,7 @@ concurrency:
cancel-in-progress: true

jobs:
publish-docs:
rebuild-docs:
runs-on: ubuntu-latest
steps:
- run: curl -X POST -d {} https://api.netlify.com/build_hooks/"$NETLIFY_DEVELOPER_DOCS_TOKEN"
env:
NETLIFY_DEVELOPER_DOCS_TOKEN: ${{ secrets.NETLIFY_DEVELOPER_DOCS_TOKEN }}
- run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ NETLIFY_DEVELOPER_DOCS_TOKEN }}

0 comments on commit ff10368

Please sign in to comment.