We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236b55f commit 1e82994Copy full SHA for 1e82994
.github/workflows/static.yaml
@@ -0,0 +1,27 @@
1
+name: Deploy to `workshop.scala-lang.org`
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - uses: actions/upload-pages-artifact@v3
12
+ with:
13
+ path: "${{ github.workspace }}"
14
+
15
+ deploy:
16
17
+ needs: build
18
+ permissions:
19
+ pages: write # to deploy to Pages
20
+ id-token: write # to verify the deployment originates from an appropriate source
21
+ environment:
22
+ name: github-pages
23
+ url: "${{ steps.deployment.outputs.page_url }}"
24
25
+ - name: Deploy to GitHub Pages
26
+ id: deployment
27
+ uses: actions/deploy-pages@v4
0 commit comments