Skip to content

Merge pull request #72 from smplrspace/next #38

Merge pull request #72 from smplrspace/next

Merge pull request #72 from smplrspace/next #38

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v2
- uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_DEV }}
notimestamp: true
nodetail: true
title: "Started: ${{ github.workflow}} - ${{ github.ref_name }}"
description: Triggered by ${{ github.actor }}
color: 0x50545b
- name: Wait for Cloudflare Pages build
uses: WalshyDev/cf-pages-await@v1
with:
apiToken: ${{ secrets.CF_API_TOKEN_PAGES }}
accountId: "4955c8c28610ecabc384d84a20458a53"
project: "docs"
# write deplpyment status to github
githubToken: ${{ secrets.PRIVATE_ACCESS_TOKEN_DEPLOYMENTS }}
- name: Send Discord notification
uses: sarisia/actions-status-discord@v1
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_DEV }}
title: ${{ github.workflow}} - ${{ github.ref_name }}
notimestamp: true