Skip to content

Update site

Update site #12

name: Update site
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *" # Every day at 2am. Modify this as you see fit
jobs:
DeploySite:
runs-on: ubuntu-latest
steps:
- name: Deploy site
uses: lwojcik/github-action-deploy-static-site@v1
with:
platform: netlify
netlify_deploy_hook_url: ${{ https://api.netlify.com/build_hooks/66399ac3de34917acdd87f72 }}

Check failure on line 15 in .github/workflows/scheduled_build.yml

View workflow run for this annotation

GitHub Actions / Update site

Invalid workflow file

The workflow is not valid. .github/workflows/scheduled_build.yml (Line: 15, Col: 36): Unexpected symbol: 'https://api'. Located at position 1 within expression: https://api.netlify.com/build_hooks/66399ac3de34917acdd87f72

Check failure on line 15 in .github/workflows/scheduled_build.yml

View workflow run for this annotation

GitHub Actions / Update site

Invalid workflow file

The workflow is not valid. .github/workflows/scheduled_build.yml (Line: 15, Col: 36): Unexpected symbol: 'https://api'. Located at position 1 within expression: https://api.netlify.com/build_hooks/66399ac3de34917acdd87f72
always_deploy: true
# Using Netlify? Configure this action as follows:
# platform: netlify
# netlify_deploy_hook_url: ${{ secrets.NETLIFY_DEPLOY_HOOK_URL }}
# always_deploy: true