Skip to content

๐Ÿ–Š๏ธ Meditations and Observations moved to GH #35

๐Ÿ–Š๏ธ Meditations and Observations moved to GH

๐Ÿ–Š๏ธ Meditations and Observations moved to GH #35

Workflow file for this run

name: "๐Ÿ“ฆ CD"
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Make this callable from other workflows
workflow_call:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "state-of-being/pages"
cancel-in-progress: false
jobs:
# Single deploy job since we're just deploying
deploy:
name: "๐ŸŒŽ Deploy Vault"
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: "๐Ÿ“Ÿ Checkout"
uses: actions/checkout@v4
- name: "๐Ÿ› ๏ธ Setup Pages"
uses: actions/configure-pages@v4
- name: "๐Ÿ“ค Upload artifact"
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: "."
- name: "๐ŸŒŽ Deploy to GitHub Pages"
id: deployment
uses: actions/deploy-pages@v3
trigger-website-deployment:
runs-on: ubuntu-latest
name: "๐ŸŽ›๏ธ Repo Dispatch Website Deployment"
needs: [deploy]
steps:
- uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.TRIGGER_KRIMLABS_DOT_COM_BUILD_TOKEN}}
repository: krimlabs/krimlabs.com
event-type: DEPLOY_WEBSITE