Import pipeline
All checks were successful
Builds / ExectOS WebSite (push) Successful in 5m50s

This commit is contained in:
Rafal Kupiec 2024-06-18 17:15:40 +02:00
parent faf89f7d3c
commit 9b9d7749a6
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

24
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Builds
run-name: ${{ github.actor }} runs Gitea Actions
on: [push]
jobs:
ExectOS WebSite:
runs-on: oscw
container:
image: codingworkshop/oscw-runner:latest
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build WebSite
run: hugo --minify
- name: Publish WebSite
if: ${{ github.ref == 'refs/heads/master' }}
env:
OSCW_ARTIFACTS_HOSTNAME: ${{ secrets.OSCW_ARTIFACTS_HOSTNAME }}
OSCW_ARTIFACTS_USERNAME: ${{ secrets.OSCW_ARTIFACTS_USERNAME }}
OSCW_ARTIFACTS_USERKEY: ${{ secrets.OSCW_ARTIFACTS_USERKEY }}
run: |
echo "Publishing step skipped"