26 lines
428 B
YAML
26 lines
428 B
YAML
#
|
|
name: Deployment Verification Ubuntu
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy-and-test:
|
|
name: Run Hardening on Ubuntu
|
|
runs-on: ubuntu-latest
|
|
container: amd64/debian:12
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Make the script files executable
|
|
run: chmod +x * -R
|
|
|
|
- name: Run a script
|
|
run: sudo ./main.sh |