Import ExectOS Web Site #1

Merged
belliash merged 41 commits from development into master 2024-06-18 23:00:03 +02:00
Showing only changes of commit 9b9d7749a6 - Show all commits

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"