Merge pull request #1054 from Ojas-Arora/dot #335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: Build site nightly | |
# on: | |
# schedule: | |
# - cron: "0 0 * * *" | |
# jobs: | |
# dot-release: | |
# name: dot-release | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: curl | |
# env: | |
# NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }} | |
# uses: wei/curl@v1 | |
# with: | |
# args: -X POST -d '{}' "$NETLIFY_BUILD_HOOK" | |
# - name: Check response status | |
# run: | | |
# response=$(curl -s -o response.txt -w "%{http_code}" -X POST -d '{}' "$NETLIFY_BUILD_HOOK") | |
# if [ "$response" -ne 200 ]; then | |
# echo "Build trigger failed with status: $response" | |
# cat response.txt | |
# exit 1 | |
# fi |