Skip to content

im cooking

im cooking #16

Workflow file for this run

name: Build and Push
on:
push:
branches:
- develop
permissions:
contents: write
pages: write
id-token: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: '21'
cache: npm
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.12.1'
- name: Set up Java
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'
java-package: 'jre'
- name: Install Dependencies and Build
run: npm ci
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './'
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
- name: Checkout to develop-builds
uses: actions/checkout@v3
with:
ref: develop-builds
- name: Clear out things
run: |
rm -rf ./*
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: github-pages
path: './'
- name: Commit
uses: EndBug/[email protected]
with:
message: ${{ github.event.head_commit.message }}
committer_name: GitHub Actions
committer_email: [email protected]