Skip to content

Re-Deploy website

Re-Deploy website #176

Workflow file for this run

name: Re-Deploy website
on:
workflow_dispatch:
schedule:
# Run every day of the week at 21:00 AMS Time
- cron: '0 20 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run & Deploy
run: |
php script.php
- name: Setup github env
run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: push to Github
run: |
git add . --all
git commit -m "Automatic Deploy action `date`."
git push origin HEAD:main --force