Prepare for migration into spec.
This commit is contained in:
18
.gitea/workflows/compile.yaml
Normal file
18
.gitea/workflows/compile.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Compile Project
|
||||
run-name: Compile the project using spec.
|
||||
on: [push]
|
||||
jobs:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Add to PATH
|
||||
run: echo "/root/.nvm/versions/node/v24.14.0/bin" >> $GITHUB_PATH
|
||||
- name: Copy source
|
||||
run: |
|
||||
mkdir -p /srv/builds/${{ github.event.repository.name }}
|
||||
cp -r . /srv/builds/${{ github.event.repository.name }}/
|
||||
- name: Compile Website
|
||||
run: spec compile --all
|
||||
working-directory: /srv/builds/${{ github.event.repository.name }}
|
||||
Reference in New Issue
Block a user