Skip to content

Merge pull request #23 from ManInMyVan/dependabot/github_actions/acti… #67

Merge pull request #23 from ManInMyVan/dependabot/github_actions/acti…

Merge pull request #23 from ManInMyVan/dependabot/github_actions/acti… #67

Workflow file for this run

name: Build and Deploy
on:
push:
branches: ["main"]
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup Java
uses: actions/[email protected]
with:
java-version: 8
distribution: "adopt"
- name: Checkout Repository
uses: actions/[email protected]
- name: Compile with Gradle
run: gradle kotlinUpgradeYarnLock build
- name: Setup Pages
uses: actions/[email protected]
- name: Build with Jekyll
uses: actions/[email protected]
with:
source: ./build/dist/js/productionExecutable
destination: ./_site
- name: Upload artifact
uses: actions/[email protected]
deploy:
name: Deploy
permissions:
pages: write
id-token: write
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/[email protected]