Fix deploy

This commit is contained in:
Mikołaj Pich 2022-11-21 00:51:32 +01:00
parent a3f900e88a
commit d825a70291

View file

@ -2,7 +2,7 @@ name: Deploy
on:
push:
branches: [$default-branch]
branches: [ master ]
workflow_dispatch:
concurrency:
@ -17,8 +17,9 @@ jobs:
- uses: fkirc/skip-duplicate-actions@master
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
- uses: actions/cache@v2
with:
@ -38,6 +39,9 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
needs: build
steps:
- name: Deploy to GitHub Pages