Skip to content

added job requirement #3

added job requirement

added job requirement #3

Workflow file for this run

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Output build artifacts to /github/workspace on the container.
- name: Execute technical lag calculator
uses: fraunhofer-iem/[email protected]
id: techlag
with:
inputPath: packageFiles/azurechat
outputPath: statistics
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: technical_lag_artifacts
path: ${{ github.workspace }}/statistics
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: technical_lag_artifacts
path: ${{github.workspace}}/pages
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'pages'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4