Skip to content

Merge pull request #1 from scala-workshop/hr/add-security.txt #3

Merge pull request #1 from scala-workshop/hr/add-security.txt

Merge pull request #1 from scala-workshop/hr/add-security.txt #3

Workflow file for this run

name: Deploy to `workshop.scala-lang.org`
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/upload-pages-artifact@v3
with:
path: "${{ github.workspace }}"
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: "${{ steps.deployment.outputs.page_url }}"
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4