Skip to content

Merge pull request #13 from tgilabs:workflow-works #5

Merge pull request #13 from tgilabs:workflow-works

Merge pull request #13 from tgilabs:workflow-works #5

name: Deploy to GitHub Pages
on:
push:
branches: ["Production"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
install:
runs-on: ubuntu-latest
name: 📦 Install
outputs:
sha: ${{ steps.checkout.outputs.commit_sha }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
deploy:
needs: install
name: 🚀 Deploy
environment:
name: Workway Updates
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './src'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4