Skip to content

Merge pull request #137 from ElaineGong954/patch-3 #434

Merge pull request #137 from ElaineGong954/patch-3

Merge pull request #137 from ElaineGong954/patch-3 #434

Workflow file for this run

name: github pages
on:
push:
branches:
- source
jobs:
build-deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Deploy 🚀
uses: chabad360/hugo-gh-pages@master
with:
githubToken: ${{ secrets.DEPLOY_TOKEN }}
cname: www.behavioral-ds.science
branch: main
hugoVersion: extended_0.60.1
- name: Webhook on failure
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://github.com/github.png?size=48
SLACK_MESSAGE: 'Failed to deploy'
SLACK_TITLE: Fail!
SLACK_USERNAME: GitHub
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}