GitHub Actions: customize example file to run deployment-script

Just trying to build the site, let’s see how this goes...
master
BodgeMaster 2025-09-05 19:28:56 +02:00 committed by GitHub
parent 7c0f0a5349
commit 87e0c6b218
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 29 additions and 0 deletions

29
.github/workflows/deployment-script vendored Normal file
View File

@ -0,0 +1,29 @@
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
push:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
cd $GITHUB_WORKSPACE
./deployment-script.sh