37 lines
898 B
YAML
37 lines
898 B
YAML
on:
|
|
push:
|
|
workflow_dispatch:
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
container:
|
|
image: bitnami/minideb:bullseye-arm64
|
|
steps:
|
|
- name: Dependencies
|
|
run: |
|
|
apt update -y
|
|
apt install git wget inetutils-ping -y
|
|
git --version
|
|
|
|
- name: CI Health Check
|
|
run: |
|
|
ping -c 1 asandikci.com
|
|
ping -c 1 git.asandikci.com
|
|
wget https://git.asandikci.com
|
|
pwd
|
|
ls -la
|
|
whoami
|
|
|
|
- name: Checkout
|
|
run: |
|
|
#export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
|
#git config --global init.defaultBranch main
|
|
#git init
|
|
git clone https://git.asandikci.com/asandikci.com/web.git
|
|
git checkout main
|
|
|
|
- name: Setup Ruby
|
|
uses: https://github.com/ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 3.2
|
|
bundler-cache: true
|