fix/cicd #3
@@ -15,24 +15,17 @@ jobs:
|
||||
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: fetch limbo public actions
|
||||
- name: Fetch limbo public actions
|
||||
env:
|
||||
RUNNER_TEMP: "${{ runner.temp }}"
|
||||
WORKSPACE: "${{ gitea.workspace }}"
|
||||
run: |
|
||||
echo "1"
|
||||
# so output is shown
|
||||
bash ./.gitea/workflows/fetch-actions.sh 2>&1
|
||||
curl -fsSL https://git.limbosolutions.com/kb/gitea/raw/branch/main/cloud-scripts/setup-limbo-actions.sh | bash 2>&1
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
||||
# mkdir -p ${{ runner.temp }}/gitea_src
|
||||
# mkdir -p ${{ gitea.workspace }}/.gitea/limbo_actions
|
||||
# git clone -b main --depth=1 https://git.limbosolutions.com/kb/gitea ${{ runner.temp }}/gitea_src
|
||||
# for dir in ${{ runner.temp }}/gitea_src/.gitea/actions/*; do
|
||||
# ln -sf "$dir" "${{ gitea.workspace }}/.gitea/limbo_actions/$(basename "$dir")"
|
||||
# done
|
||||
|
||||
- name: Setup kubectl
|
||||
uses: ./.gitea/limbo_actions/kubectl-setup
|
||||
|
||||
Reference in New Issue
Block a user