Skip to content

Swich github pages deployment to use new method #2

Swich github pages deployment to use new method

Swich github pages deployment to use new method #2

Workflow file for this run

name: Build and Deploy
on: [push]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout badge firmware
uses: actions/checkout@v5
with:
repository: emfcamp/badge-2024-software
path: badge-2024-software
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: .
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4