Skip to content

Commit

Permalink
chore: explore GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ardikabs committed Sep 2, 2023
1 parent 944ccb1 commit 6afdbe3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
workflow_dispatch:
pull_request:

jobs:
test:
runs-on: stg-local
container: ghcr.io/ardikabs/etc/kubexec:latest
steps:
- run: echo $PWD
- name: Breaking down `github` context
run: |
echo actor=${{ github.actor }}
echo action_ref=${{ github.action_ref }}
echo ref=${{ github.ref }}
echo ref_name=${{ github.ref_name }}
echo event_name=${{ github.event_name }}
echo event_path=${{ github.event_path }}
echo job=${{ github.job }}
echo PR=${{ github.event.pull_request.number }}
echo PR_root=${{ github.event.number }}
ls -alh /usr/local/bin
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
- run: sleep 20
shell: bash
- run: printenv
- run: ls -alh
- run: pwd

0 comments on commit 6afdbe3

Please sign in to comment.