From 9f67f3562c4404d0723b2c3b072efac215f16637 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 13 Mar 2023 20:08:26 -0700 Subject: [PATCH] cron workflow update --- .github/workflows/vercel-scheduled-build.yaml | 20 +++++++++++++++++++ src/_includes/now-topper.liquid | 1 - 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/vercel-scheduled-build.yaml diff --git a/.github/workflows/vercel-scheduled-build.yaml b/.github/workflows/vercel-scheduled-build.yaml new file mode 100644 index 00000000..2764204e --- /dev/null +++ b/.github/workflows/vercel-scheduled-build.yaml @@ -0,0 +1,20 @@ +name: Vercel scheduled build +env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} +on: + schedule: + - cron: '0 * * * *' +jobs: + Deploy-Production: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install Vercel CLI + run: npm install --global vercel@latest + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + - name: Build Project Artifacts + run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + - name: Deploy Project Artifacts to Vercel + run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} \ No newline at end of file diff --git a/src/_includes/now-topper.liquid b/src/_includes/now-topper.liquid index 12a3a08a..d134a56a 100644 --- a/src/_includes/now-topper.liquid +++ b/src/_includes/now-topper.liquid @@ -2,5 +2,4 @@

Now

I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies.

{{ status.emoji }} {{ status.content }}

-

{% heroicon "solid" "music-note" "Now playing" "width=20 height=20" %} {{nowplaying.title}} by {{nowplaying.artist}}