CItest/.forgejo/workflows/demo.yaml
asandikci f7dcf5ab56
Some checks failed
/ test (push) Failing after 37s
Update .forgejo/workflows/demo.yaml
2024-11-10 23:16:14 +03:00

39 lines
968 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 dnsutils -y
git --version
- name: CI Health Check
run: |
ping -c 1 asandikci.com
ping -c 1 git.asandikci.com
dig asandikci.com
dig 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